Closed Bug 1742774 Opened 9 months ago Closed 1 month ago

Add a button to remove all breakpoints in the Breakpoint header

Categories

(DevTools :: Debugger, enhancement, P3)

enhancement

Tracking

(firefox104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: nchevobbe, Assigned: bomsy)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

At the moment, we have a context menu entry to remove all breakpoints but it's not very discoverable (even less with the situation described in Bug 1742773)

On top of the context menu, having a button in the UI would be a great addition.
We can take some inspiration on what is done in vscode, where a "clear" button is displayed at the right of the breakpoints panel header.
We could even have such button for individual files, so clicking on it will remove all breakpoints from the file.

Assignee: nobody → hmanilla
Attachment #9282997 - Attachment description: Bug 1742774 - [devtools] All remove all breakpoints button → Bug 1742774 - [devtools] Add remove all breakpoints button in breakpoints header r=nchevobbe
Status: NEW → ASSIGNED
Attachment #9283001 - Attachment description: Bug 1742774 - [devtools] Add button to remove all XHR Breakpoints → Bug 1742774 - [devtools] Add button to remove all XHR Breakpoints r=nchevobbe
Pushed by hmanilla@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/018ddf29cbbe
[devtools] Add remove all breakpoints button in breakpoints header r=nchevobbe
https://hg.mozilla.org/integration/autoland/rev/feea37f11d89
[devtools] Add button to remove all XHR Breakpoints r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
Depends on: 1779243
You need to log in before you can comment on or make changes to this bug.