Bug 36225

Summary: Web Inspector: "Pause on exceptions" doesn't pause for exceptions triggered indirectly by evaluating something in the console
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: burg, bweinstein, joepeck, keishi, pfeldman, pmuellr, rik
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
test case none

Description Adam Roben (:aroben) 2010-03-17 09:27:54 PDT
Created attachment 50914 [details]
test case

To reproduce:

1. Load the attached test case
2. Turn on "Pause on exceptions"
3. Type "foo()" in the console and press Enter

An exception is thrown, but the debugger didn't pause. Note that clicking the "click me" button (which causes foo() to be evaluated) *does* cause the debugger to pause.
Comment 1 Timothy Hatcher 2010-03-17 09:41:54 PDT
I'm not sure we ever paused on exceptions when evaluating in the console. Did you try an older Safari release where it worked?
Comment 2 Pavel Feldman 2010-03-17 09:58:55 PDT
Never worked, neither this nor breakpoints.