RESOLVED FIXED 69879
Web Inspector: [JSC] Breakpoint not hit if code is called from debug console
https://bugs.webkit.org/show_bug.cgi?id=69879
Summary Web Inspector: [JSC] Breakpoint not hit if code is called from debug console
Jon Honeycutt
Reported 2011-10-11 16:08:58 PDT
A JS breakpoint set in the inspector will not be hit if the code is called from the debug console. To reproduce: 1. Open the above URL 2. Inspect the page 3. Go to the Scripts panel, and select the script "button%3E" from the drop-down 4. Put a breakpoint on line 1 5. Go back to the browser, and click the button in the page. Note that the breakpoint is hit. 6. Open the debug console, and run x() The function is called and returns 0, which prints to the console, but the breakpoint is not hit.
Attachments
Jon Honeycutt
Comment 1 2011-10-11 16:12:15 PDT
Vsevolod Vlasov
Comment 2 2011-10-17 14:23:09 PDT
I can not reproduce that on chromium ToT. Is it Safari specific or are you using an older version?
Jon Honeycutt
Comment 3 2011-10-17 14:36:05 PDT
I cannot reproduce in Chrome either. Seems to be Safari-specific.
Note You need to log in before you can comment on or make changes to this bug.