Bug 142631

Summary: Web Inspector: Add Conditional Type Breakpoint from Type Annotation
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: 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
Reported 2015-03-12 12:04:19 PDT
* 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
Radar WebKit Bug Importer
Comment 1 2015-03-12 12:04:40 PDT
Note You need to log in before you can comment on or make changes to this bug.