[Webkit-unassigned] [Bug 69879] New: Web Inspector: Breakpoint not hit if code is called from debug console
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 11 16:08:58 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=69879
Summary: Web Inspector: Breakpoint not hit if code is called
from debug console
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: data:text/html,<script>function x() { return 0;
}</script><button onclick="x()">click me</button>
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jhoneycutt at apple.com
CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
pmuellr at yahoo.com, joepeck at webkit.org,
pfeldman at chromium.org, yurys at chromium.org,
bweinstein at apple.com, apavlov at chromium.org,
loislo at chromium.org
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.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list