"Ignore a source": I expect an option to UNIGNORE console debugger statements
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(Not tracked)
People
(Reporter: max.bugzilla, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0
Steps to reproduce:
Executing a code from the Console with debugger; in it, opens a "virtual" file "SOURCE" as a tab when the debugger; breakpoint is triggered.
You can "ignore" this SOURCE as the article suggests.
Then close the SOURCE tab.
It's not in the file list in the file/script browser (on the left / in the left pane).
Now Console debugger; statements will be ignored.
Actual results:
All Console "debugger;" statements ignored
Expected results:
Option to UNIGNORE console "debugger;" breakpoints.
Updated•3 years ago
|
Comment 1•3 years ago
|
||
We should detect eval coming from the console and either prevent the "ignore line" feature.
We might be able to have a unique URL for those and differentiate them, but that would have wider impacts. So a better long term fix is probably to stop identifying sources only based on their URL.
See if we could look into the url assigned to the evaled expression (https://searchfox.org/mozilla-central/rev/625c3d0c8ae46502aed83f33bd530cb93e926e9f/devtools/server/actors/webconsole/eval-with-debugger.js#109-110,148-152) to discriminate those sources
Comment 3•3 years ago
|
||
Description
•