Closed Bug 1577376 Opened 3 months ago Closed 3 months ago

UI for enabling/disabling debugger statements


(DevTools :: Debugger, enhancement)

70 Branch
Not set


(firefox71 fixed)

Firefox 71
Tracking Status
firefox71 --- fixed


(Reporter: chujunlu, Assigned: chujunlu)



(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36

Steps to reproduce:

Jason implemented the server side for disabling debugger statements ( We plan to add client side support.

  1. Open
  2. Open client.js in editor.
  3. Click line 8 to add a breakpoint before the debugger statement.
  4. Right click the breakpoint in editor or in secondary panel.

Expected results:

An item "Never pause here" shows up in the breakpoint context menu. After clicking that item, run the code, the debugger statement should be skipped.

A "Pause here" item shows up in the context menu for a currently disabled debugger statement, so people can re-enable it.

Add menu items to both secondary panel and editor
Add a mochitest

Attachment #9089301 - Attachment description: UI for disable debugger statement r=jlast → Bug 1577376 - UI for disable debugger statement r=jlast
Pushed by
UI for disable debugger statement r=jlast
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
Assignee: nobody → chujunlu
QA Whiteboard: [qa-71b-p2]
You need to log in before you can comment on or make changes to this bug.