Open Bug 1742773 Opened 2 years ago Updated 2 years ago

Breakpoint panel context menus are confusing

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In the breakpoint panel of the debugger, you will get different context menus depending where you click on:

  • on the file name:
    • Disable breakpoints: Disable breakpoints in the file
    • Remove breakpoints: Remove breakpoints in the file
  • on a breakpoint:
    • Remove: Remove the breakpoint
    • Remove all: Remove all breakpoints in all files
    • Remove others: Remove all breakpoints in all files, except the one we clicked on
    • Disable: Disable the breakpoint
    • Disable all: Disable all breakpoints in all files
    • Disable others: Disable all breakpoints in all files, except the one we clicked on
    • Add condition: Turn the breakpoint into a conditional breakpoint
    • Add log: Turn the breakpoint into a logpoint

It seems like those 2 context menus should have similar items, and we would only remove single-breakpoint specific items when clicking on the file name.
So we could have

  • on the file name:
    • Remove all: Remove all breakpoints in all files
    • Remove breakpoints in this file
    • Remove breakpoints in other files
    • Disable all: Disable all breakpoints in all files
    • Disable breakpoints in this file
    • Disable breakpoints in other files
  • on a breakpoint
    • Remove: Remove the breakpoint
    • Remove all: Remove all breakpoints in all files
    • Remove breakpoints in this file
    • Remove breakpoints in other files
    • Disable: Disable the breakpoint
    • Disable all: Disable all breakpoints in all files
    • Disable breakpoints in this file
    • Disable breakpoints in other files
    • Add condition: Turn the breakpoint into a conditional breakpoint
    • Add log: Turn the breakpoint into a logpoint
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: