Bug 36225 - Web Inspector: "Pause on exceptions" doesn't pause for exceptions triggered indirectly by evaluating something in the console
Summary: Web Inspector: "Pause on exceptions" doesn't pause for exceptions triggered i...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-17 09:27 PDT by Adam Roben (:aroben)
Modified: 2014-12-15 23:21 PST (History)
7 users (show)

See Also:


Attachments
test case (112 bytes, text/html)
2010-03-17 09:27 PDT, Adam Roben (:aroben)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.