Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(695)

Issue 160001: Skip built-in and debugger functions when DebugBreak is forced (Closed)

Created:
11 years, 5 months ago by yurys
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

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. Committed: http://code.google.com/p/v8/source/detail?r=2531

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -17 lines) Patch
M src/execution.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download
M src/ia32/regexp-macro-assembler-ia32.cc View 3 chunks +1 line, -14 lines 0 comments Download
M test/cctest/test-debug.cc View 1 2 3 chunks +65 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
yurys
11 years, 5 months ago (2009-07-23 06:51:46 UTC) #1
Mads Ager (chromium)
LGTM
11 years, 5 months ago (2009-07-23 07:31:30 UTC) #2
yurys
Christian, please look at regexp-macro-assembler-ia32.cc changes.
11 years, 5 months ago (2009-07-23 13:34:48 UTC) #3
Christian Plesner Hansen
Lgtm!
11 years, 5 months ago (2009-07-23 18:09:56 UTC) #4
Søren Thygesen Gjesse
I think we need to revise this. I agree that stopping inside builtin code might ...
11 years, 5 months ago (2009-07-27 07:33:58 UTC) #5
Søren Thygesen Gjesse
11 years, 5 months ago (2009-07-27 08:08:14 UTC) #6
I just discussed this with Christian, and of cause the stack guard check is
still present in the RegExp code - sorry about that.

I still think that we should have the ability to stop while running a RegExp and
some countermeasure for trying for to long to leave "system" JavaScript.

Powered by Google App Engine
This is Rietveld 408576698