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
|
|
|
|
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>
|
|
|
|
}
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:60
|
|
|
|
at wasm_B (0:60):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:39
|
|
|
|
at wasm_A (0:39):
|
2019-11-06 15:51:44 +00:00
|
|
|
- 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: {}
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:40
|
|
|
|
at wasm_A (0:40):
|
2019-11-06 15:51:44 +00:00
|
|
|
- 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: {}
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:62
|
|
|
|
at wasm_B (0:62):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:60
|
|
|
|
at wasm_B (0:60):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:62
|
|
|
|
at wasm_B (0:62):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:44
|
|
|
|
at wasm_B (0:44):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:60
|
|
|
|
at wasm_B (0:60):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:39
|
|
|
|
at wasm_A (0:39):
|
2019-11-06 15:51:44 +00:00
|
|
|
- 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: {}
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:62
|
|
|
|
at wasm_B (0:62):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:44
|
|
|
|
at wasm_B (0:44):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:46
|
|
|
|
at wasm_B (0:46):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:48
|
|
|
|
at wasm_B (0:48):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
|
|
|
stack: {"0":1}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:50
|
|
|
|
at wasm_B (0:50):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:52
|
|
|
|
at wasm_B (0:52):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
|
|
|
stack: {"0":1}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:54
|
|
|
|
at wasm_B (0:54):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
|
|
|
stack: {"0":1,"1":1}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:55
|
|
|
|
at wasm_B (0:55):
|
2019-11-06 15:51:44 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":1}
|
|
|
|
stack: {"0":0}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:57
|
|
|
|
at wasm_B (0:57):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:60
|
|
|
|
at wasm_B (0:60):
|
2019-11-20 11:27:40 +00:00
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
- scope (local):
|
|
|
|
locals: {"arg#0":0}
|
|
|
|
stack: {"0":1024}
|
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped
|
|
|
|
Debugger.stepInto called
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:39
|
|
|
|
at wasm_A (0:39):
|
2019-11-06 15:51:44 +00:00
|
|
|
- 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: {}
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:40
|
|
|
|
at wasm_A (0:40):
|
2019-11-06 15:51:44 +00:00
|
|
|
- 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: {}
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:41
|
|
|
|
at wasm_A (0:41):
|
2019-11-06 15:51:44 +00:00
|
|
|
- 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: {}
|
2020-01-09 12:11:55 +00:00
|
|
|
at wasm_B (0:60):
|
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
|
2020-01-09 12:11:55 +00:00
|
|
|
Paused at wasm://wasm/7dfc8356:0:62
|
|
|
|
at wasm_B (0:62):
|
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!
|