Developer Tools: debugger statement not shown in "Breakpoints" section.
Categories
(DevTools :: Debugger, enhancement)
Tracking
(Not tracked)
People
(Reporter: thetetet, Unassigned)
Details
Attachments
(1 file)
128.80 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0
Steps to reproduce:
Place debugger;
statements in JavaScript code and let the debugger run into one.
Actual results:
The debugger
breakpoint is not shown in the "Breakpoints" section of the Developer Tools Debugger sidebar.
Expected results:
The debugger
breakpoint should be shown in the "Breakpoints" section of the Developer Tools Debugger sidebar. Ideally all of the debugger
statements throughout the whole codebase, but at least the one where the debugger currently stopped.
Comment 1•6 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•6 years ago
|
||
Thanks for the report!
I am not sure whether we want to show the debugger
statement in the Breakpoints panel (technically it isn't a breakpoint).
Also not sure what would be the advantage. Why do you think it should be there?
Note that you can disable a debugger
statement by creating a breakpoint on the same line, right clicking again (on the gutter) and picking Never pause here
.
Would that solve your use case?
Honza
Comment 3•5 years ago
|
||
I don't think think this is something we'd want since there could be an unbounded number of debugger statements. As Honza said, if disabling them is the goal, then perhaps https://bugzilla.mozilla.org/show_bug.cgi?id=1578220 is enough, or if not, please file a new issue.
Description
•