Debugger should not stop in its own code and in code of built-in functions since...
authoryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 24 Jul 2009 06:14:23 +0000 (06:14 +0000)
committeryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 24 Jul 2009 06:14:23 +0000 (06:14 +0000)
commit161d38c614b16efebbabe42a4c554d44e4df552e
tree51e4525f71485692b2e1b502bd28991530e58427
parent9acd081326c6547c4cc30e18d9804ddf2a1b6d75
Debugger should not stop in its own code and in code of built-in functions since it may confuse user.Debug break handler checks whether current function is a built-in or a debugger one and just resumes execution if it is.

CallCheckStackGuardState is no longer called in loop in the RegExp code as it hangs if debug break flag is not reset after calling Execution::HandleStackGuardInterrupt.
Review URL: http://codereview.chromium.org/160001

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2531 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/execution.cc
src/ia32/regexp-macro-assembler-ia32.cc
test/cctest/test-debug.cc