Closed Bug 1580102 Opened 6 years ago Closed 5 years ago

Developer Tools: debugger statement not shown in "Breakpoints" section.

Categories

(DevTools :: Debugger, enhancement)

70 Branch
Desktop
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: thetetet, Unassigned)

Details

Attachments

(1 file)

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.

OS: Unspecified → Linux
Hardware: Unspecified → Desktop
Version: 69 Branch → 70 Branch

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Debugger
Product: Firefox → DevTools

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

Flags: needinfo?(thetetet)

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.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Flags: needinfo?(thetetet)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: