2018-09-13 19:19:30 +00:00
|
|
|
Tests stepping through wasm scripts with source maps
|
2020-02-12 13:41:02 +00:00
|
|
|
Got wasm script: wasm://wasm/9b4bf87e
|
2018-09-13 19:19:30 +00:00
|
|
|
Script sourceMapURL: abc
|
2020-02-12 13:41:02 +00:00
|
|
|
Requesting source for wasm://wasm/9b4bf87e...
|
2018-09-13 19:19:30 +00:00
|
|
|
Source retrieved without error: true
|
2020-02-12 13:41:02 +00:00
|
|
|
Setting breakpoint on offset 54 (on the setlocal before the call), url wasm://wasm/9b4bf87e
|
2018-09-13 19:19:30 +00:00
|
|
|
{
|
|
|
|
columnNumber : 54
|
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
}
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 54: Wasm opcode 0x21
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:54):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":4}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{"0":3}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 56: Wasm opcode 0x10
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:56):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":3}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 38: Wasm opcode 0x01
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_A (0:38):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:56):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":3}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOver called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 39: Wasm opcode 0x01
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_A (0:39):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:56):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":3}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOut called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 58: Wasm opcode 0x0c
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:58):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":3}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOut called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 54: Wasm opcode 0x21
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:54):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":3}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{"0":2}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOver called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 56: Wasm opcode 0x10
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:56):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":2}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOver called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 58: Wasm opcode 0x0c
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:58):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":2}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.resume called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 54: Wasm opcode 0x21
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:54):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":2}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{"0":1}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 56: Wasm opcode 0x10
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:56):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 38: Wasm opcode 0x01
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_A (0:38):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:56):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOut called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 58: Wasm opcode 0x0c
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:58):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 45: Wasm opcode 0x20
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:45):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 47: Wasm opcode 0x04
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:47):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{"0":1}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 49: Wasm opcode 0x20
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:49):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 51: Wasm opcode 0x41
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:51):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{"0":1}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 53: Wasm opcode 0x6b
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:53):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{"0":1,"1":1}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 54: Wasm opcode 0x21
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:54):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{"0":0}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 56: Wasm opcode 0x10
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:56):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":0}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 38: Wasm opcode 0x01
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_A (0:38):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:56):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":0}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 39: Wasm opcode 0x01
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_A (0:39):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:56):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":0}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 40: Wasm opcode 0x0b
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_A (0:40):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:56):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":0}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/9b4bf87e byte offset 58: Wasm opcode 0x0c
|
2018-09-13 19:19:30 +00:00
|
|
|
at wasm_B (0:58):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2018-09-13 19:19:30 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":0}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2018-09-13 19:19:30 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.resume called
|
|
|
|
exports.main returned!
|
|
|
|
Finished!
|