Bug 142631
Summary: | Web Inspector: Add Conditional Type Breakpoint from Type Annotation | ||
---|---|---|---|
Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | inspector-bugzilla-changes, jonowells, saam, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Joseph Pecoraro
* SUMMARY
It would be useful to break in the debugger when a function gets an unexpected type. So that you can debug immediately when you are in that situation.
* THOUGHTS
1. Inspect page
2. Function shows type annotation for "Number" when you expected "Int"
3. Right click Type Annotation, and "Add Conditional Type Breakpoint"
4. Select the "Expected Types" (pre-populated with the current types in the Type Annotation)
=> Sets a Conditional Breakpoint
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/20140352>