2019-12-20 13:58:45 +00:00
|
|
|
Test retrieving scope information from compiled Liftoff frames
|
|
|
|
Installing instantiate code.
|
2020-01-09 12:11:55 +00:00
|
|
|
Waiting for wasm script to be parsed.
|
2019-12-20 13:58:45 +00:00
|
|
|
Calling instantiate function.
|
|
|
|
Got wasm script!
|
|
|
|
Setting breakpoint on line 2 (first instruction) of third function
|
|
|
|
{
|
2020-01-09 12:11:55 +00:00
|
|
|
columnNumber : 85
|
|
|
|
lineNumber : 0
|
2019-12-20 13:58:45 +00:00
|
|
|
scriptId : <scriptId>
|
|
|
|
}
|
|
|
|
Paused:
|
2020-02-12 13:41:02 +00:00
|
|
|
Script wasm://wasm/c4eb034a byte offset 85: Wasm opcode 0x20
|
2019-12-20 13:58:45 +00:00
|
|
|
Scope:
|
2020-01-09 12:11:55 +00:00
|
|
|
at C (interpreted) (0:85):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 0 (number)
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "i32_arg": 42 (number), "i32_local": 0 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2020-01-09 12:11:55 +00:00
|
|
|
at B (liftoff) (0:76):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 0 (number)
|
2019-12-27 15:17:44 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "var5": 0 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2020-03-26 21:44:16 +00:00
|
|
|
0: 42 (number)
|
|
|
|
1: 3 (number)
|
2020-01-09 12:11:55 +00:00
|
|
|
at A (liftoff) (0:54):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 0 (number)
|
2019-12-27 15:17:44 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "var0": 42 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2019-12-20 13:58:45 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped globals
|
|
|
|
|
|
|
|
Paused:
|
2020-02-12 13:41:02 +00:00
|
|
|
Script wasm://wasm/c4eb034a byte offset 87: Wasm opcode 0x24
|
2019-12-20 13:58:45 +00:00
|
|
|
Scope:
|
2020-01-09 12:11:55 +00:00
|
|
|
at C (interpreted) (0:87):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 0 (number)
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "i32_arg": 42 (number), "i32_local": 0 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
0: 42 (number)
|
2020-01-09 12:11:55 +00:00
|
|
|
at B (liftoff) (0:76):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 0 (number)
|
2019-12-27 15:17:44 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "var5": 0 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2020-03-26 21:44:16 +00:00
|
|
|
0: 42 (number)
|
|
|
|
1: 3 (number)
|
2020-01-09 12:11:55 +00:00
|
|
|
at A (liftoff) (0:54):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 0 (number)
|
2019-12-27 15:17:44 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "var0": 42 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2019-12-20 13:58:45 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped globals
|
|
|
|
|
|
|
|
Paused:
|
2020-02-12 13:41:02 +00:00
|
|
|
Script wasm://wasm/c4eb034a byte offset 89: Wasm opcode 0x41
|
2019-12-20 13:58:45 +00:00
|
|
|
Scope:
|
2020-01-09 12:11:55 +00:00
|
|
|
at C (interpreted) (0:89):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 42 (number)
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "i32_arg": 42 (number), "i32_local": 0 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2020-01-09 12:11:55 +00:00
|
|
|
at B (liftoff) (0:76):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 42 (number)
|
2019-12-27 15:17:44 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "var5": 0 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2020-03-26 21:44:16 +00:00
|
|
|
0: 42 (number)
|
|
|
|
1: 3 (number)
|
2020-01-09 12:11:55 +00:00
|
|
|
at A (liftoff) (0:54):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 42 (number)
|
2019-12-27 15:17:44 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "var0": 42 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2019-12-20 13:58:45 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped globals
|
|
|
|
|
|
|
|
Paused:
|
2020-02-12 13:41:02 +00:00
|
|
|
Script wasm://wasm/c4eb034a byte offset 91: Wasm opcode 0x21
|
2019-12-20 13:58:45 +00:00
|
|
|
Scope:
|
2020-01-09 12:11:55 +00:00
|
|
|
at C (interpreted) (0:91):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 42 (number)
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "i32_arg": 42 (number), "i32_local": 0 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
0: 47 (number)
|
2020-01-09 12:11:55 +00:00
|
|
|
at B (liftoff) (0:76):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 42 (number)
|
2019-12-27 15:17:44 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "var5": 0 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2020-03-26 21:44:16 +00:00
|
|
|
0: 42 (number)
|
|
|
|
1: 3 (number)
|
2020-01-09 12:11:55 +00:00
|
|
|
at A (liftoff) (0:54):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 42 (number)
|
2019-12-27 15:17:44 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "var0": 42 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2019-12-20 13:58:45 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped globals
|
|
|
|
|
|
|
|
Paused:
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/c4eb034a byte offset 93: Wasm opcode 0x0b
|
2019-12-20 13:58:45 +00:00
|
|
|
Scope:
|
2020-01-09 12:11:55 +00:00
|
|
|
at C (interpreted) (0:93):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 42 (number)
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "i32_arg": 42 (number), "i32_local": 47 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2020-01-09 12:11:55 +00:00
|
|
|
at B (liftoff) (0:76):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 42 (number)
|
2019-12-27 15:17:44 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "var5": 0 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2020-03-26 21:44:16 +00:00
|
|
|
0: 42 (number)
|
|
|
|
1: 3 (number)
|
2020-01-09 12:11:55 +00:00
|
|
|
at A (liftoff) (0:54):
|
2019-12-20 13:58:45 +00:00
|
|
|
- scope (global):
|
2020-03-11 16:55:08 +00:00
|
|
|
globals: "global0": 42 (number)
|
2019-12-27 15:17:44 +00:00
|
|
|
- scope (local):
|
2020-03-11 16:55:08 +00:00
|
|
|
locals: "var0": 42 (number)
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2019-12-20 13:58:45 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped globals
|
|
|
|
|
2020-03-27 13:23:31 +00:00
|
|
|
Paused:
|
|
|
|
Script wasm://wasm/c4eb034a byte offset 78: Wasm opcode 0x1a
|
|
|
|
Scope:
|
|
|
|
at B (liftoff) (0:78):
|
|
|
|
- scope (global):
|
|
|
|
globals: "global0": 42 (number)
|
|
|
|
- scope (local):
|
|
|
|
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "var5": 0 (number)
|
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
0: 42 (number)
|
|
|
|
1: 3 (number)
|
|
|
|
at A (liftoff) (0:54):
|
|
|
|
- scope (global):
|
|
|
|
globals: "global0": 42 (number)
|
|
|
|
- scope (local):
|
|
|
|
locals: "var0": 42 (number)
|
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped globals
|
|
|
|
|
|
|
|
Paused:
|
|
|
|
Script wasm://wasm/c4eb034a byte offset 79: Wasm opcode 0x1a
|
|
|
|
Scope:
|
|
|
|
at B (liftoff) (0:79):
|
|
|
|
- scope (global):
|
|
|
|
globals: "global0": 42 (number)
|
|
|
|
- scope (local):
|
|
|
|
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "var5": 0 (number)
|
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
0: 42 (number)
|
|
|
|
at A (liftoff) (0:54):
|
|
|
|
- scope (global):
|
|
|
|
globals: "global0": 42 (number)
|
|
|
|
- scope (local):
|
|
|
|
locals: "var0": 42 (number)
|
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped globals
|
|
|
|
|
|
|
|
Paused:
|
|
|
|
Script wasm://wasm/c4eb034a byte offset 80: Wasm opcode 0x0b
|
|
|
|
Scope:
|
|
|
|
at B (liftoff) (0:80):
|
|
|
|
- scope (global):
|
|
|
|
globals: "global0": 42 (number)
|
|
|
|
- scope (local):
|
|
|
|
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "var5": 0 (number)
|
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
at A (liftoff) (0:54):
|
|
|
|
- scope (global):
|
|
|
|
globals: "global0": 42 (number)
|
|
|
|
- scope (local):
|
|
|
|
locals: "var0": 42 (number)
|
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped globals
|
|
|
|
|
|
|
|
Paused:
|
|
|
|
Script wasm://wasm/c4eb034a byte offset 56: Wasm opcode 0x0b
|
|
|
|
Scope:
|
|
|
|
at A (liftoff) (0:56):
|
|
|
|
- scope (global):
|
|
|
|
globals: "global0": 42 (number)
|
|
|
|
- scope (local):
|
|
|
|
locals: "var0": 42 (number)
|
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped globals
|
|
|
|
|
2019-12-20 13:58:45 +00:00
|
|
|
Paused:
|
|
|
|
instance.exports.main(42)#
|
|
|
|
|
|
|
|
Scope:
|
|
|
|
at (anonymous) (0:25):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped globals
|
|
|
|
|
|
|
|
exports.main returned. Test finished.
|