RESOLVED WONTFIX 51473
Web Inspector: [Chromium] Breakpoint set on a 'for' loop stops execution after the first iteration, not before
https://bugs.webkit.org/show_bug.cgi?id=51473
Summary Web Inspector: [Chromium] Breakpoint set on a 'for' loop stops execution afte...
Mikhail Naganov
Reported 2010-12-22 09:18:07 PST
Created attachment 77223 [details] 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.
Attachments
Repro page (277 bytes, text/html)
2010-12-22 09:18 PST, Mikhail Naganov
no flags
Timothy Hatcher
Comment 1 2013-04-05 13:00:49 PDT
Chromium and V8 have left the building. Won't fix.
Note You need to log in before you can comment on or make changes to this bug.