[Webkit-unassigned] [Bug 51473] New: Web Inspector: [Chromium] Breakpoint set on a 'for' loop stops execution after the first iteration, not before
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 22 09:18:08 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=51473
Summary: Web Inspector: [Chromium] Breakpoint set on a 'for'
loop stops execution after the first iteration, not
before
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mnaganov at chromium.org
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
Created an attachment (id=77223)
--> (https://bugs.webkit.org/attachment.cgi?id=77223&action=review)
Repro page
When setting a breakpoint on a line with a 'for' loop, script execution stops only after the first iteration is complete.
Load the attached page into Chromium, open DevTools, switch to "Scripts", set a breakpoint on line 5 (for loop). Make sure the console is shown.
Now press the button on the page. Execution will stop, but console will already have "0" message added and in "Scope variables", "i" will have "0" value.
Having the same actions repeated in WebKit / Safari, at the moment when script stops on a breakpoint, the console is clean, and "i" has "undefined" value.
--
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