NEW 142631
Web Inspector: Add Conditional Type Breakpoint from Type Annotation
https://bugs.webkit.org/show_bug.cgi?id=142631
Summary Web Inspector: Add Conditional Type Breakpoint from Type Annotation
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.