v8/test/inspector/debugger
kozyatinskiy ac50c79a3e [inspector] implemented blackboxing inside v8
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}
2017-01-24 01:50:25 +00:00
..
access-obsolete-frame-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
access-obsolete-frame.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
asm-js-breakpoint-before-exec-expected.txt [asm.js] [inspector-test] Avoid breakpoint on "use asm" statement 2017-01-04 13:29:35 +00:00
asm-js-breakpoint-before-exec.js [asm.js] [inspector-test] Avoid breakpoint on "use asm" statement 2017-01-04 13:29:35 +00:00
asm-js-breakpoint-during-exec-expected.txt Fix detection of BUILTIN functions 2016-10-28 06:48:44 +00:00
asm-js-breakpoint-during-exec.js Fix detection of BUILTIN functions 2016-10-28 06:48:44 +00:00
asm-js-stack-expected.txt [debug] [reland] Consistently use script from FrameMirror 2016-10-18 08:19:28 +00:00
asm-js-stack.js [debug] [reland] Consistently use script from FrameMirror 2016-10-18 08:19:28 +00:00
async-console-count-doesnt-crash-expected.txt [inspector] test for fixed empty stack processing in console.count 2016-10-03 21:10:53 +00:00
async-console-count-doesnt-crash.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
async-instrumentation-expected.txt [inspector] async stacks for Promise.then calls... 2017-01-10 12:54:12 +00:00
async-instrumentation.js [inspector] async stacks for Promise.then calls... 2017-01-10 12:54:12 +00:00
async-promise-late-then-expected.txt [inspector] async stacks for Promise.then calls... 2017-01-10 12:54:12 +00:00
async-promise-late-then.js [inspector] async stacks for Promise.then calls... 2017-01-10 12:54:12 +00:00
async-set-timeout-expected.txt [inspector] add async instrumentation for setTimeout in tests 2016-12-13 19:41:22 +00:00
async-set-timeout.js [inspector] add async instrumentation for setTimeout in tests 2016-12-13 19:41:22 +00:00
async-stack-await-expected.txt [inspector] async stacks for Promise.then calls... 2017-01-10 12:54:12 +00:00
async-stack-await.js [inspector] async stacks for Promise.then calls... 2017-01-10 12:54:12 +00:00
async-stack-for-promise-expected.txt [inspector] async stacks for Promise.then calls... 2017-01-10 12:54:12 +00:00
async-stack-for-promise.js [inspector] async stacks for Promise.then calls... 2017-01-10 12:54:12 +00:00
async-stacks-limit-expected.txt [inspector] introduce limit for amount of stored async stacks 2016-12-18 17:04:40 +00:00
async-stacks-limit.js [inspector] introduce limit for amount of stored async stacks 2016-12-18 17:04:40 +00:00
break-on-exception-expected.txt [inspector] move changeBreakpointState from debugger-script to native 2016-10-19 02:00:57 +00:00
break-on-exception.js [inspector] move changeBreakpointState from debugger-script to native 2016-10-19 02:00:57 +00:00
call-frame-function-location-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
call-frame-function-location.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
caught-uncaught-exceptions-expected.txt [inspector] Add exception caught/uncaught status to protocol 2016-11-10 07:58:48 +00:00
caught-uncaught-exceptions.js [inspector] Add exception caught/uncaught status to protocol 2016-11-10 07:58:48 +00:00
command-line-api-with-bound-function-expected.txt [inspector] fix test expectations for command-line-api-with-bound-function 2016-10-06 16:20:15 +00:00
command-line-api-with-bound-function.js [inspector] command line api debug and monitor works with bound functions 2016-10-05 17:59:06 +00:00
continue-to-location-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
continue-to-location.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
doesnt-step-into-injected-script-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
doesnt-step-into-injected-script.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
eval-scopes-expected.txt [debug] Add Eval scope type to inspector protocol 2016-11-23 07:30:23 +00:00
eval-scopes.js [debug] Add Eval scope type to inspector protocol 2016-11-23 07:30:23 +00:00
framework-break-expected.txt [inspector] implemented blackboxing inside v8 2017-01-24 01:50:25 +00:00
framework-break.js [inspector] implemented blackboxing inside v8 2017-01-24 01:50:25 +00:00
framework-precise-ranges-expected.txt [inspector] implemented blackboxing inside v8 2017-01-24 01:50:25 +00:00
framework-precise-ranges.js [inspector] implemented blackboxing inside v8 2017-01-24 01:50:25 +00:00
framework-stepping-expected.txt [inspector] implemented blackboxing inside v8 2017-01-24 01:50:25 +00:00
framework-stepping.js [inspector] implemented blackboxing inside v8 2017-01-24 01:50:25 +00:00
get-possible-breakpoints-array-literal-expected.txt Compiling an array literal should be context-independent. 2016-11-14 10:46:33 +00:00
get-possible-breakpoints-array-literal.js Compiling an array literal should be context-independent. 2016-11-14 10:46:33 +00:00
get-possible-breakpoints-expected.txt [inspector] fixed Debugger.getPossibleBreakpoints 2016-12-01 00:26:37 +00:00
get-possible-breakpoints.js [inspector] fix positions for single expression arrow function 2016-11-09 15:37:14 +00:00
inspector-break-api-expected.txt [inspector] expose V8InspectorSession::breakProgram in test harness. 2017-01-18 16:57:00 +00:00
inspector-break-api.js [inspector] expose V8InspectorSession::breakProgram in test harness. 2017-01-18 16:57:00 +00:00
object-preview-internal-properties-expected.txt Re-land of Use parenthesis in descriptions for array/map/set lengths/sizes 2016-12-02 01:26:45 +00:00
object-preview-internal-properties.js [inspector] filter useless in preview internal properties 2016-10-07 01:16:28 +00:00
pause-on-oom-expected.txt [inspector] unconditionally pause on OOM 2017-01-18 21:35:09 +00:00
pause-on-oom.js [inspector] unconditionally pause on OOM 2017-01-18 21:35:09 +00:00
scope-skip-variables-with-empty-name-expected.txt [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
scope-skip-variables-with-empty-name.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
script-on-after-compile-expected.txt [debugger] simplify fetching scripts for inspector. 2016-11-04 13:55:26 +00:00
script-on-after-compile.js [debugger] simplify fetching scripts for inspector. 2016-11-04 13:55:26 +00:00
script-parsed-for-runtime-evaluate-expected.txt [inspector] introduced Script::TYPE_INSPECTOR 2016-11-17 04:39:47 +00:00
script-parsed-for-runtime-evaluate.js [inspector] introduced Script::TYPE_INSPECTOR 2016-11-17 04:39:47 +00:00
script-parsed-hash-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
script-parsed-hash.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
set-blackbox-patterns-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
set-blackbox-patterns.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
set-breakpoint-before-enabling-expected.txt Roll third_party/inspector_protocol to cf45a6e89b17cdc9eeacdef4c003fcc55f7ec2a0 2016-11-01 22:33:39 +00:00
set-breakpoint-before-enabling.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
set-script-source-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
set-script-source.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
step-over-caught-exception-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
step-over-caught-exception.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
stepping-after-get-possible-breakpoints-expected.txt [inspector] fixed Debugger.getPossibleBreakpoints 2016-12-01 00:26:37 +00:00
stepping-after-get-possible-breakpoints.js [inspector] fixed Debugger.getPossibleBreakpoints 2016-12-01 00:26:37 +00:00
stepping-with-blackboxed-ranges-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
stepping-with-blackboxed-ranges.js [inspector] implemented blackboxing inside v8 2017-01-24 01:50:25 +00:00
suspended-generator-scopes-expected.txt [inspector] Expose scopes for suspended generator objects 2016-11-24 07:32:40 +00:00
suspended-generator-scopes.js [inspector] Expose scopes for suspended generator objects 2016-11-24 07:32:40 +00:00
update-call-frame-scopes-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
update-call-frame-scopes.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
wasm-scripts-expected.txt [wasm] Enforce that function bodies end with the \"end\" opcode. 2017-01-15 21:18:53 +00:00
wasm-scripts.js [wasm] Rename wasm::LocalType to wasm::ValueType and kAst* to kWasm* 2016-12-21 13:43:00 +00:00
wasm-source-expected.txt [wasm] Enforce that function bodies end with the \"end\" opcode. 2017-01-15 21:18:53 +00:00
wasm-source.js [wasm] Rename wasm::LocalType to wasm::ValueType and kAst* to kWasm* 2016-12-21 13:43:00 +00:00
wasm-stack-expected.txt [wasm] Enforce that function bodies end with the \"end\" opcode. 2017-01-15 21:18:53 +00:00
wasm-stack.js [wasm] Rename wasm::LocalType to wasm::ValueType and kAst* to kWasm* 2016-12-21 13:43:00 +00:00