v8/test/inspector/debugger/wasm-set-breakpoint-expected.txt
Benedikt Meurer a0b0928119 [inspector] Expose "stack" as proper scope property.
This is the V8 side change for https://crrev.com/c/2744048, which an
explicit "stack" property into the (renamed) "Expression" scope to align
the behavior and appearance of that scope with the other scopes.

Fixed: chromium:1159310
Bug: chromium:1071432, chromium:1159307
Change-Id: Ic070c50b674d8c1cff4a93538f708cc431c3f2cb
Screenshot: https://imgur.com/a/ryFiOGA.png
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2748591
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Philip Pfaffe <pfaffe@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Philip Pfaffe <pfaffe@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73321}
2021-03-10 16:40:57 +00:00

488 lines
13 KiB
Plaintext

Tests stepping through wasm scripts.
Running test: test
Instantiating.
Waiting for wasm script (ignoring first non-wasm script).
Setting breakpoint at offset 38 on script wasm://wasm/0c10a5fe
Calling main(4)
Paused:
Script wasm://wasm/0c10a5fe byte offset 38: Wasm opcode 0x01 (kExprNop)
Scope:
at wasm_A (0:38):
- scope (wasm-expression-stack):
stack:
- scope (local):
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at wasm_B (0:56):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 3 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Setting breakpoint at offset 39 on script v8://test/runWasm
Setting breakpoint at offset 61 on script v8://test/runWasm
Setting breakpoint at offset 60 on script v8://test/runWasm
Setting breakpoint at offset 54 on script v8://test/runWasm
Setting breakpoint at offset 53 on script v8://test/runWasm
Setting breakpoint at offset 51 on script v8://test/runWasm
Setting breakpoint at offset 49 on script v8://test/runWasm
Setting breakpoint at offset 45 on script v8://test/runWasm
Setting breakpoint at offset 47 on script v8://test/runWasm
Paused:
Script wasm://wasm/0c10a5fe byte offset 39: Wasm opcode 0x01 (kExprNop)
Scope:
at wasm_A (0:39):
- scope (wasm-expression-stack):
stack:
- scope (local):
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at wasm_B (0:56):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 3 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 45: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at wasm_B (0:45):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 3 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 47: Wasm opcode 0x04 (kExprIf)
Scope:
at wasm_B (0:47):
- scope (wasm-expression-stack):
stack: "0": 3 (i32)
- scope (local):
$var0: 3 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 49: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at wasm_B (0:49):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 3 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 51: Wasm opcode 0x41 (kExprI32Const)
Scope:
at wasm_B (0:51):
- scope (wasm-expression-stack):
stack: "0": 3 (i32)
- scope (local):
$var0: 3 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 53: Wasm opcode 0x6b (kExprI32Sub)
Scope:
at wasm_B (0:53):
- scope (wasm-expression-stack):
stack: "0": 3 (i32), "1": 1 (i32)
- scope (local):
$var0: 3 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 54: Wasm opcode 0x21 (kExprLocalSet)
Scope:
at wasm_B (0:54):
- scope (wasm-expression-stack):
stack: "0": 2 (i32)
- scope (local):
$var0: 3 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 38: Wasm opcode 0x01 (kExprNop)
Scope:
at wasm_A (0:38):
- scope (wasm-expression-stack):
stack:
- scope (local):
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at wasm_B (0:56):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 2 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 39: Wasm opcode 0x01 (kExprNop)
Scope:
at wasm_A (0:39):
- scope (wasm-expression-stack):
stack:
- scope (local):
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at wasm_B (0:56):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 2 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 45: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at wasm_B (0:45):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 2 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 47: Wasm opcode 0x04 (kExprIf)
Scope:
at wasm_B (0:47):
- scope (wasm-expression-stack):
stack: "0": 2 (i32)
- scope (local):
$var0: 2 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 49: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at wasm_B (0:49):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 2 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 51: Wasm opcode 0x41 (kExprI32Const)
Scope:
at wasm_B (0:51):
- scope (wasm-expression-stack):
stack: "0": 2 (i32)
- scope (local):
$var0: 2 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 53: Wasm opcode 0x6b (kExprI32Sub)
Scope:
at wasm_B (0:53):
- scope (wasm-expression-stack):
stack: "0": 2 (i32), "1": 1 (i32)
- scope (local):
$var0: 2 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 54: Wasm opcode 0x21 (kExprLocalSet)
Scope:
at wasm_B (0:54):
- scope (wasm-expression-stack):
stack: "0": 1 (i32)
- scope (local):
$var0: 2 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 38: Wasm opcode 0x01 (kExprNop)
Scope:
at wasm_A (0:38):
- scope (wasm-expression-stack):
stack:
- scope (local):
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at wasm_B (0:56):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 1 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 39: Wasm opcode 0x01 (kExprNop)
Scope:
at wasm_A (0:39):
- scope (wasm-expression-stack):
stack:
- scope (local):
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at wasm_B (0:56):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 1 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 45: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at wasm_B (0:45):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 1 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 47: Wasm opcode 0x04 (kExprIf)
Scope:
at wasm_B (0:47):
- scope (wasm-expression-stack):
stack: "0": 1 (i32)
- scope (local):
$var0: 1 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 49: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at wasm_B (0:49):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 1 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 51: Wasm opcode 0x41 (kExprI32Const)
Scope:
at wasm_B (0:51):
- scope (wasm-expression-stack):
stack: "0": 1 (i32)
- scope (local):
$var0: 1 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 53: Wasm opcode 0x6b (kExprI32Sub)
Scope:
at wasm_B (0:53):
- scope (wasm-expression-stack):
stack: "0": 1 (i32), "1": 1 (i32)
- scope (local):
$var0: 1 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 54: Wasm opcode 0x21 (kExprLocalSet)
Scope:
at wasm_B (0:54):
- scope (wasm-expression-stack):
stack: "0": 0 (i32)
- scope (local):
$var0: 1 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 38: Wasm opcode 0x01 (kExprNop)
Scope:
at wasm_A (0:38):
- scope (wasm-expression-stack):
stack:
- scope (local):
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at wasm_B (0:56):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 0 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 39: Wasm opcode 0x01 (kExprNop)
Scope:
at wasm_A (0:39):
- scope (wasm-expression-stack):
stack:
- scope (local):
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at wasm_B (0:56):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 0 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 45: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at wasm_B (0:45):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 0 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 47: Wasm opcode 0x04 (kExprIf)
Scope:
at wasm_B (0:47):
- scope (wasm-expression-stack):
stack: "0": 0 (i32)
- scope (local):
$var0: 0 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 61: Wasm opcode 0x0b (kExprEnd)
Scope:
at wasm_B (0:61):
- scope (wasm-expression-stack):
stack:
- scope (local):
$var0: 0 (i32)
- scope (module):
instance: exports: "main" (Function)
module: Module
functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
-- skipped
exports.main returned!