[Webkit-unassigned] [Bug 21073] JS Debugger doesn't handle 'for' loops correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 12 11:31:56 PST 2009


------- Comment #5 from olaru at adobe.com  2009-02-12 11:31 PDT -------
> So when a user hits continue on a for loop, do they have to press it 2 times
> (either once for the initializer and once for the conditional, or once for the
> increment and once for the conditional)?

No! It simply regresses #2 - when hitting continue, the debugger will pause
again on the 'for' line, after going through the loop once. This is opposed to
the expected behavior that the breakpoint on the 'for' is not hit again.

Otherwise put, if the loop executes 10 time, the user has to click continue 10
times. The user should only have to click continue once to skip the breakpoint
at the beginning.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list