v8/test/inspector/debugger
Clemens Hammacher 6e70425be1 [wasm] Provide scope information via inspector
This CL implements the proposed change to show information about
WebAssembly values and call frames via the inspector interface.
Each interpreted WebAssembly frame will have two scopes: A global scope
showing information about the memory (to be extended for globals), and
a local scope showing information about parameters, local variables, and
stack values.
Names of local variables will be added later.

R=ahaas@chromium.org, yangguo@chromium.org
BUG=v8:6245,v8:5822

Change-Id: I0a35fddd0a353933c86adf62083233b08098a2c7
Reviewed-on: https://chromium-review.googlesource.com/474865
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#44633}
2017-04-13 09:00:02 +00:00
..
resources [inspector] added master test for break locations 2017-02-27 20:20:39 +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] added reconnect method for tests 2017-02-28 20:22:24 +00:00
async-for-await-of-promise-stack-expected.txt [builtins] add exception predictions for AsyncFromSyncIterator methods 2017-03-13 11:10:38 +00:00
async-for-await-of-promise-stack.js [builtins] add exception predictions for AsyncFromSyncIterator methods 2017-03-13 11:10:38 +00:00
async-instrumentation-expected.txt [inspector] change target promise for kDebugWillHandle & kDebugDidHandle 2017-01-25 07:05:43 +00:00
async-instrumentation.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +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] added reconnect method for tests 2017-02-28 20:22:24 +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] added reconnect method for tests 2017-02-28 20:22:24 +00:00
async-stack-await-expected.txt [inspector] added creation frame for async call chains for promises 2017-01-26 09:32:37 +00:00
async-stack-await.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
async-stack-created-frame-expected.txt [inspector] added creation frame for async call chains for promises 2017-01-26 09:32:37 +00:00
async-stack-created-frame.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
async-stack-for-promise-expected.txt [inspector] added creation frame for async call chains for promises 2017-01-26 09:32:37 +00:00
async-stack-for-promise.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
async-stacks-limit-expected.txt [inspector] added creation frame for async call chains for promises 2017-01-26 09:32:37 +00:00
async-stacks-limit.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +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] added reconnect method for tests 2017-02-28 20:22:24 +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-exception-from-framework-inside-async-expected.txt [inspector] merged IsSubjectToDebugging and IsBlackboxed and fixed issue 2017-03-10 17:44:35 +00:00
caught-exception-from-framework-inside-async.js [inspector] merged IsSubjectToDebugging and IsBlackboxed and fixed issue 2017-03-10 17:44:35 +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] added reconnect method for tests 2017-02-28 20:22:24 +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] added reconnect method for tests 2017-02-28 20:22:24 +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] changed a way of preserving stepping between tasks 2017-03-22 16:20:54 +00:00
doesnt-step-into-injected-script.js [inspector] changed a way of preserving stepping between tasks 2017-03-22 16:20:54 +00:00
es6-module-script-parsed-expected.txt [inspector] added length for scriptParsed notification 2017-03-07 22:01:37 +00:00
es6-module-script-parsed.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
es6-module-set-script-source-expected.txt [inspector] return meaningful error on Debug.setScriptSource for ES module 2017-02-03 22:10:04 +00:00
es6-module-set-script-source.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +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] take into account inlined frames in ::HasNonBlackboxedFrameOnStack 2017-01-26 21:32:53 +00:00
framework-break.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
framework-nested-scheduled-break-expected.txt [inspector] support for nested scheduled breaks 2017-02-08 01:42:54 +00:00
framework-nested-scheduled-break.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +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] added reconnect method for tests 2017-02-28 20:22:24 +00:00
framework-stepping-expected.txt [debugger] tuned StepNext and StepOut at return position 2017-03-22 14:16:18 +00:00
framework-stepping.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
get-possible-breakpoints-array-literal-expected.txt [inspector] added type of break location into getPossibleBreakpoints output 2017-03-06 20:47:55 +00:00
get-possible-breakpoints-array-literal.js [inspector] added test infrastructure and test for es6 modules 2017-01-31 00:19:41 +00:00
get-possible-breakpoints-expected.txt [inspector] use BREAK_POSITION_ALIGNED for breakpoints 2017-02-24 02:01:26 +00:00
get-possible-breakpoints-master-expected.txt Adjust some tests to prepare enabling Ignition+TurboFan 2017-03-07 13:27:55 +00:00
get-possible-breakpoints-master.js Adjust some tests to prepare enabling Ignition+TurboFan 2017-03-07 13:27:55 +00:00
get-possible-breakpoints-restrict-to-function-expected.txt [inspector] added restrictToFunction flag for getPossibleBreakpoints 2017-02-27 16:53:03 +00:00
get-possible-breakpoints-restrict-to-function.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
get-possible-breakpoints.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +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] added reconnect method for tests 2017-02-28 20:22:24 +00:00
max-async-call-chain-depth-expected.txt [inspector] store creation stack in current V8StackTraceImpl 2017-04-12 19:02:58 +00:00
max-async-call-chain-depth.js [inspector] store creation stack in current V8StackTraceImpl 2017-04-12 19:02:58 +00:00
object-preview-internal-properties-expected.txt [inspector] introduced v8::debug::EntriesPreview for inspector 2017-02-07 07:46:21 +00:00
object-preview-internal-properties.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
pause-expected.txt [inspector] use same schedulePauseOnNextStatement strategy for Debugger.pause 2017-03-24 02:44:25 +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] Enable debugger/pause-on-oom test with larger heap limit. 2017-03-02 17:49:15 +00:00
pause.js [inspector] use same schedulePauseOnNextStatement strategy for Debugger.pause 2017-03-24 02:44:25 +00:00
restore-breakpoint-expected.txt [inspector] restore provisional breakpoints smarter 2017-02-28 16:14:27 +00:00
restore-breakpoint.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
return-break-locations-expected.txt [debugger] tuned StepNext and StepOut at return position 2017-03-22 14:16:18 +00:00
return-break-locations.js [debugger] tuned StepNext and StepOut at return position 2017-03-22 14:16:18 +00:00
schedule-step-into-async-expected.txt [inspector] introduced Debugger.scheduleStepIntoAsync 2017-03-06 16:28:21 +00:00
schedule-step-into-async-set-timeout-expected.txt [inspector] support setTimeout in Debugger.scheduleStepIntoAsync method 2017-03-30 14:42:24 +00:00
schedule-step-into-async-set-timeout.js [inspector] support setTimeout in Debugger.scheduleStepIntoAsync method 2017-03-30 14:42:24 +00:00
schedule-step-into-async.js [inspector] introduced Debugger.scheduleStepIntoAsync 2017-03-06 16:28:21 +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-end-location-expected.txt [inspector] fixed endLine in Debugger.scriptParsed event 2017-03-03 06:58:11 +00:00
script-end-location.js [inspector] fixed endLine in Debugger.scriptParsed event 2017-03-03 06:58:11 +00:00
script-on-after-compile-expected.txt [Devtools] Add stacktrace to protocol for scriptParsed event 2017-03-16 23:34:11 +00:00
script-on-after-compile.js [Devtools] Add stacktrace to protocol for scriptParsed event 2017-03-16 23:34:11 +00:00
script-parsed-for-runtime-evaluate-expected.txt [Devtools] Add stacktrace to protocol for scriptParsed event 2017-03-16 23:34:11 +00:00
script-parsed-for-runtime-evaluate.js [Devtools] Add stacktrace to protocol for scriptParsed event 2017-03-16 23:34:11 +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-exception-expected.txt [inspector] return meaningful error on Debug.setScriptSource for ES module 2017-02-03 22:10:04 +00:00
set-script-source-exception.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +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
side-effect-free-debug-evaluate-expected.txt [debugger] expose side-effect free evaluate to inspector. 2017-02-10 17:06:22 +00:00
side-effect-free-debug-evaluate.js [Flags] Add negation implications for --turbo negative so --no-turbo works. 2017-03-07 20:41:12 +00:00
step-into-expected.txt [inspector] changed a way of preserving stepping between tasks 2017-03-22 16:20:54 +00:00
step-into-nested-arrow-expected.txt [debugger] correctly find inner function scope. 2017-03-14 16:35:19 +00:00
step-into-nested-arrow.js [debugger] correctly find inner function scope. 2017-03-14 16:35:19 +00:00
step-into-next-script-expected.txt [inspector] changed a way of preserving stepping between tasks 2017-03-22 16:20:54 +00:00
step-into-next-script.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
step-into.js Adjust some tests to prepare enabling Ignition+TurboFan 2017-03-07 13:27:55 +00:00
step-out-async-await-expected.txt [inspector] added test for StepOut at return postion from async function 2017-03-28 21:14:19 +00:00
step-out-async-await.js [inspector] added test for StepOut at return postion from async function 2017-03-28 21:14:19 +00:00
step-over-another-context-group-expected.txt [inspector] changed a way of preserving stepping between tasks 2017-03-22 16:20:54 +00:00
step-over-another-context-group.js [inspector] changed a way of preserving stepping between tasks 2017-03-22 16:20:54 +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] changed a way of preserving stepping between tasks 2017-03-22 16:20:54 +00:00
stepping-after-get-possible-breakpoints.js [inspector] fixed Debugger.getPossibleBreakpoints 2016-12-01 00:26:37 +00:00
stepping-and-break-program-api-expected.txt [inspector] don't make v8::debug::Call for breakProgram. 2017-03-13 14:59:43 +00:00
stepping-and-break-program-api.js [inspector] don't make v8::debug::Call for breakProgram. 2017-03-13 14:59:43 +00:00
stepping-ignores-injected-script-expected.txt [inspector] added flag for injected-script-source debugging 2017-03-22 17:36:55 +00:00
stepping-ignores-injected-script.js [inspector] added flag for injected-script-source debugging 2017-03-22 17:36:55 +00:00
stepping-tail-call-expected.txt [debugger] tuned StepNext and StepOut at return position 2017-03-22 14:16:18 +00:00
stepping-tail-call.js [inspector] follow up for e27d18c943 2017-03-22 18:07:12 +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
stepping-with-exposed-injected-script-expected.txt [inspector] added flag for injected-script-source debugging 2017-03-22 17:36:55 +00:00
stepping-with-exposed-injected-script.js [inspector] added flag for injected-script-source debugging 2017-03-22 17:36:55 +00:00
stepping-with-natives-and-frameworks-expected.txt [debugger] tuned StepNext and StepOut at return position 2017-03-22 14:16:18 +00:00
stepping-with-natives-and-frameworks.js [inspector] follow up for e27d18c943 2017-03-22 18:07:12 +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] fixed suspended-generator-scopes.js with --aways-opt 2017-03-29 19:40:20 +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-get-breakable-locations-expected.txt [wasm] Implement extensible name section 2017-04-07 16:31:47 +00:00
wasm-get-breakable-locations.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
wasm-imports-expected.txt [wasm] Show interpreted frames on captured stack traces 2017-03-14 10:23:20 +00:00
wasm-imports.js [wasm] Fix importing wasm functions which are being debugged 2017-03-03 12:38:41 +00:00
wasm-scripts-expected.txt [wasm] Implement extensible name section 2017-04-07 16:31:47 +00:00
wasm-scripts.js [inspector] added reconnect method for tests 2017-02-28 20:22:24 +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 [inspector] added reconnect method for tests 2017-02-28 20:22:24 +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 [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
wasm-stepping-expected.txt [wasm] Provide scope information via inspector 2017-04-13 09:00:02 +00:00
wasm-stepping.js [wasm] Provide scope information via inspector 2017-04-13 09:00:02 +00:00