Bug 128785
Summary: | Web Inspector: add context menu item for quickly adding probes | ||
---|---|---|---|
Product: | WebKit | Reporter: | Blaze Burg <bburg> |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | inspector-bugzilla-changes, jeremyckahn, madonnk, syoichi, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 136292 |
Blaze Burg
It's especially tedious to add a probe to a line that does not already have a breakpoint.
I propose we have "Add Probe Expression" as a context menu item when right clicking in the text editor gutter, and the same for right clicking a breakpoint in the navigation sidebar.
We could also add Option+LeftClick as a shortcut for the text editor gutter which will set up the breakpoint action editor to add a probe action.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/16066541>
Timothy Hatcher
Add Probe Expression in the context menu sounds good.
I'd like to reserve modifier clicks for a feature where the previous breakpoint config is copied, so option-click would copy the previous setup to the new breakpoint. Which would be useful for probes or other actions, like play sound and auto continue.
Maybe have a checkbox in the popover to set the config as the default breakpoint config.
Brian Burg
Would also be great to have context menu to create probe from a highlighted expression in the text editor.
Brian Burg
*** Bug 66314 has been marked as a duplicate of this bug. ***