| Summary: | Web Inspector: click to re-enable breakpoint clears automatic continue | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jeff Johnson <opendarwin> | ||||
| Component: | Web Inspector | Assignee: | Devin Rousso <hi> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | hi, inspector-bugzilla-changes, pangle, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 15 | ||||||
| Hardware: | All | ||||||
| OS: | macOS 12 | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=236524 | ||||||
| Attachments: |
|
||||||
|
Description
Jeff Johnson
2022-02-10 15:20:18 PST
Currently clicking on a breakpoint with actions will cycle through `Enabled without continue` -> `Enabled /w continue` -> `Disabled` in an effort to make it easier to switch between the first two states in cases where you may only want to pause sometimes, but always want the actions to be run. This was implemented in r161687. (In reply to Patrick Angle from comment #1) > Currently clicking on a breakpoint with actions will cycle through `Enabled > without continue` -> `Enabled /w continue` -> `Disabled` in an effort to > make it easier to switch between the first two states in cases where you may > only want to pause sometimes, but always want the actions to be run. This > was implemented in r161687. This 3-way toggle doesn't seem very discoverable, especially since all other breakpoints are click on, click off. Might I suggest a little separate widget to the left of breakpoints that have an action, and thus have the Automatically continue option? Then the breakpoint and Automatically continue can be separately toggled easily. Just looking at Xcode for comparison. Xcode does not have a 3-way toggle. However, Xcode does open the breakpoint popup for editing on double-click, whereas the web inspector does not. Thus, it may be a good alternative for the web inspector to edit the breakpoint on double-click. Created attachment 451736 [details]
[fast-cq] Patch
Comment on attachment 451736 [details]
[fast-cq] Patch
r=me
Committed r289669 (247157@main): <https://commits.webkit.org/247157@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 451736 [details]. |