2019-11-20 11:27:40 +00:00
|
|
|
Tests stepping through wasm scripts by byte offsets
|
|
|
|
Setting up global instance variable.
|
2020-02-12 13:41:02 +00:00
|
|
|
Got wasm script: wasm://wasm/befe41aa
|
|
|
|
Setting breakpoint on offset 59 (should be propagated to 60, the offset of the call), url wasm://wasm/befe41aa
|
2019-11-06 15:51:44 +00:00
|
|
|
{
|
2019-11-20 11:27:40 +00:00
|
|
|
columnNumber : 60
|
2019-11-06 15:51:44 +00:00
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
}
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 60: Wasm opcode 0x10
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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":1024}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 39: Wasm opcode 0x01
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_A (0:39):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1024}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOver called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 40: Wasm opcode 0x01
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_A (0:40):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1024}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOut called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 62: Wasm opcode 0x0c
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:62):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOut called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 60: Wasm opcode 0x10
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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":1024}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOver called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 62: Wasm opcode 0x0c
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:62):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
2019-11-20 11:27:40 +00:00
|
|
|
Debugger.stepInto called
|
2020-03-26 13:36:16 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 46: Wasm opcode 0x20
|
|
|
|
at wasm_B (0:46):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.resume called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 60: Wasm opcode 0x10
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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":1024}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 39: Wasm opcode 0x01
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_A (0:39):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1024}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOut called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 62: Wasm opcode 0x0c
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:62):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 46: Wasm opcode 0x20
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:46):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 48: Wasm opcode 0x04
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:48):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 50: Wasm opcode 0x20
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:50):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 52: Wasm opcode 0x41
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:52):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 54: Wasm opcode 0x6b
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:54):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 55: Wasm opcode 0x21
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:55):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 57: Wasm opcode 0x41
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:57):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-25 16:32:41 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 60: Wasm opcode 0x10
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-20 11:27:40 +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):
|
|
|
|
{"0":1024}
|
2019-11-20 11:27:40 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 39: Wasm opcode 0x01
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_A (0:39):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1024}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 40: Wasm opcode 0x01
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_A (0:40):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1024}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 41: Wasm opcode 0x0b
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_A (0:41):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +00:00
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2020-06-06 04:26:31 +00:00
|
|
|
{"var0":1024}
|
2020-03-25 21:23:02 +00:00
|
|
|
- scope (wasm-expression-stack):
|
|
|
|
{}
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-03-26 17:29:15 +00:00
|
|
|
Script wasm://wasm/befe41aa byte offset 62: Wasm opcode 0x0c
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:62):
|
2020-04-15 05:02:40 +00:00
|
|
|
- scope (module):
|
2019-11-06 15:51:44 +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):
|
|
|
|
{}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.resume called
|
|
|
|
exports.main returned!
|
|
|
|
Finished!
|