ac50c79a3e
V8 has internal mechanism to ignore steps and breaks inside internal scripts, in this CL it's reused for blackboxing implementation. Advantages: - much faster blackboxing implementation (before we at least wrap and collect current call stack for each step), - get rid of StepFrame action and potential pause in blackboxed code after N StepFrame steps, - simplification of debugger agent logic. Disadvtanges: - currently when user was paused in blackboxed code (e.g. on breakpoint) and then makes step action, debugger ignores blackboxed state of the script and allows to use step actions as usual - this behavior is regressed, we still able to support it on frontend side. Current state and proposed changes for blackboxing: https://docs.google.com/document/d/1hnzaXPAN8_QC5ENxIgxgMNDbXLraM_OXT73rAyijTF8/edit?usp=sharing BUG=v8:5842 R=yangguo@chromium.org,dgozman@chromium.org,alph@chromium.org Review-Url: https://codereview.chromium.org/2633803002 Cr-Commit-Position: refs/heads/master@{#42614}
101 lines
2.2 KiB
Plaintext
101 lines
2.2 KiB
Plaintext
Checks stepping with blackboxed frames on stack
|
|
|
|
Running test: testStepIntoFromUser
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing stepInto...
|
|
Executing stepInto...
|
|
userFoo (user.js:23:2)
|
|
frameworkCall (framework.js:10:23)
|
|
testStepFromUser (user.js:31:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing stepInto...
|
|
Executing stepInto...
|
|
userBoo (user.js:27:2)
|
|
frameworkCall (framework.js:10:23)
|
|
testStepFromUser (user.js:31:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing stepInto...
|
|
Executing stepInto...
|
|
testStepFromUser (user.js:32:0)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing resume...
|
|
|
|
Running test: testStepOverFromUser
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing stepInto...
|
|
Executing stepInto...
|
|
userFoo (user.js:23:2)
|
|
frameworkCall (framework.js:10:23)
|
|
testStepFromUser (user.js:31:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing stepOver...
|
|
Executing stepOver...
|
|
userBoo (user.js:27:2)
|
|
frameworkCall (framework.js:10:23)
|
|
testStepFromUser (user.js:31:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing stepOver...
|
|
Executing stepOver...
|
|
testStepFromUser (user.js:32:0)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing resume...
|
|
|
|
Running test: testStepOutFromUser
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing stepInto...
|
|
Executing stepInto...
|
|
userFoo (user.js:23:2)
|
|
frameworkCall (framework.js:10:23)
|
|
testStepFromUser (user.js:31:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing stepOut...
|
|
testStepFromUser (user.js:32:0)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing resume...
|
|
|
|
Running test: testStepIntoFromFramework
|
|
frameworkBreakAndCall (framework.js:14:2)
|
|
testStepFromFramework (user.js:35:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing stepInto...
|
|
userFoo (user.js:23:2)
|
|
frameworkBreakAndCall (framework.js:15:23)
|
|
testStepFromFramework (user.js:35:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing resume...
|
|
|
|
Running test: testStepOverFromFramework
|
|
frameworkBreakAndCall (framework.js:14:2)
|
|
testStepFromFramework (user.js:35:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing stepOver...
|
|
testStepFromFramework (user.js:36:0)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing resume...
|
|
|
|
Running test: testStepOutFromFramework
|
|
frameworkBreakAndCall (framework.js:14:2)
|
|
testStepFromFramework (user.js:35:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing stepOut...
|
|
testStepFromFramework (user.js:36:0)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
Executing resume...
|