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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 26 04:48:51 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=21073





------- Comment #1 from achicu at adobe.com  2008-09-26 04:48 PDT -------
Created an attachment (id=23848)
 --> (https://bugs.webkit.org/attachment.cgi?id=23848&action=view)
The patch is a fix for correctly emitting debugging hooks in nodes.cpp. 

After looking in the grammar.y file I think you can have a better level of
control of when the debugger must stop. It's as simple as adding emitDebugHooks
in each debuggable statement emitCode method. That will, also, remove the need
for two more virtual function calls (isBlock and isLoop).

Also changed the position of some debug hooks in ForNode, ForInNode and
DoWhileNode. 


-- 
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