2019-11-20 11:27:40 +00:00
|
|
|
Tests stepping through wasm scripts by byte offsets
|
|
|
|
Setting up global instance variable.
|
2019-11-22 11:41:15 +00:00
|
|
|
Got wasm script: wasm://wasm/7dfc8356
|
|
|
|
Requesting source for wasm://wasm/7dfc8356...
|
2019-11-06 15:51:44 +00:00
|
|
|
Source retrieved without error: true
|
2019-11-22 11:41:15 +00:00
|
|
|
Setting breakpoint on offset 59 (should be propagated to 60, the offset of the call), url wasm://wasm/7dfc8356
|
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>
|
|
|
|
}
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:9:6
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (9:6):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":3}
|
2019-11-20 11:27:40 +00:00
|
|
|
stack: {"0":1024}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-0:1:2
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_A (1:2):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2019-11-20 11:27:40 +00:00
|
|
|
locals: {"arg#0":1024}
|
2019-11-06 15:51:44 +00:00
|
|
|
stack: {}
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (9:6):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":3}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOver called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-0:2:2
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_A (2:2):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2019-11-20 11:27:40 +00:00
|
|
|
locals: {"arg#0":1024}
|
2019-11-06 15:51:44 +00:00
|
|
|
stack: {}
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (9:6):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":3}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOut called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:10:6
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (10:6):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":3}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOut called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:9:6
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (9:6):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2019-11-20 11:27:40 +00:00
|
|
|
locals: {"arg#0":2}
|
|
|
|
stack: {"0":1024}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOver called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:10:6
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (10:6):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":2}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
2019-11-20 11:27:40 +00:00
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:1:2
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (1:2):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":2}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.resume called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:9:6
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (9:6):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
2019-11-20 11:27:40 +00:00
|
|
|
stack: {"0":1024}
|
2019-11-06 15:51:44 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-0:1:2
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_A (1:2):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2019-11-20 11:27:40 +00:00
|
|
|
locals: {"arg#0":1024}
|
2019-11-06 15:51:44 +00:00
|
|
|
stack: {}
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (9:6):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepOut called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:10:6
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (10:6):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:1:2
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_B (1:2):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:2:4
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_B (2:4):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:3:4
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_B (3:4):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
|
|
|
stack: {"0":1}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:4:6
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_B (4:6):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:5:6
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_B (5:6):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
|
|
|
stack: {"0":1}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:6:6
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_B (6:6):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
|
|
|
stack: {"0":1,"1":1}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:7:6
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_B (7:6):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
|
|
|
stack: {"0":0}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:8:6
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_B (8:6):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":0}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:9:6
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (9:6):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":0}
|
|
|
|
stack: {"0":1024}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-0:1:2
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_A (1:2):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2019-11-20 11:27:40 +00:00
|
|
|
locals: {"arg#0":1024}
|
2019-11-06 15:51:44 +00:00
|
|
|
stack: {}
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (9:6):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":0}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-0:2:2
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_A (2:2):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2019-11-20 11:27:40 +00:00
|
|
|
locals: {"arg#0":1024}
|
2019-11-06 15:51:44 +00:00
|
|
|
stack: {}
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (9:6):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":0}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-0:3:0
|
2019-11-06 15:51:44 +00:00
|
|
|
at wasm_A (3:0):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
2019-11-20 11:27:40 +00:00
|
|
|
locals: {"arg#0":1024}
|
2019-11-06 15:51:44 +00:00
|
|
|
stack: {}
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (9:6):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":0}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2019-11-22 11:41:15 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356/7dfc8356-1:10:6
|
2019-11-20 11:27:40 +00:00
|
|
|
at wasm_B (10:6):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":0}
|
|
|
|
stack: {}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.resume called
|
|
|
|
exports.main returned!
|
|
|
|
Finished!
|