Reviewers: Erik Corry, Description: Change the handling of the debug break stack guard.
The debug break is no longer ignored when hit inside "system" JavaScript. The reason for this is twofold * Running "system" JavaScript with the debug break flag active leads to slow running code while waiting for the break in non "system" JavaScript * If this happens while processing RegExp running in native an infinite loop is created as the stack guard handler for RegExp does not move execution forward If a debug break event happens while in the debugger it is re-scheduled to happen after the debugger is finished. If a break happens in the debugger this re-scheduling is cleared. Fixed a GC bug in the interrupt handling for RegExp running in native code. Added test of debug break while in debug message handler callback and debug break while executing a RegExp. Please review this at http://codereview.chromium.org/115262 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/debug.h M src/debug.cc M src/execution.cc M src/ia32/regexp-macro-assembler-ia32.cc M test/cctest/test-debug.cc --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
