2020-03-12 16:39:26 +00:00
|
|
|
Tests stepping through wasm scripts by byte offsets
|
|
|
|
Setting up global instance variable.
|
2020-03-17 17:25:36 +00:00
|
|
|
Got wasm script: wasm://wasm/42af3c82
|
|
|
|
Setting breakpoint on offset 72 (should be propagated to 73, the offset of the call), url wasm://wasm/42af3c82
|
2020-03-12 16:39:26 +00:00
|
|
|
{
|
2020-03-17 17:25:36 +00:00
|
|
|
columnNumber : 73
|
2020-03-12 16:39:26 +00:00
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
}
|
2020-03-17 17:25:36 +00:00
|
|
|
Paused at wasm://wasm/42af3c82:0:73
|
2020-03-12 16:39:26 +00:00
|
|
|
Debugger.stepOver called
|
2020-03-17 17:25:36 +00:00
|
|
|
Paused at wasm://wasm/42af3c82:0:75
|
2020-03-13 11:51:04 +00:00
|
|
|
Debugger.resume called
|
2020-03-17 17:25:36 +00:00
|
|
|
Paused at wasm://wasm/42af3c82:0:73
|
2020-03-13 11:51:04 +00:00
|
|
|
Debugger.stepOver called
|
2020-03-17 17:25:36 +00:00
|
|
|
Paused at wasm://wasm/42af3c82:0:75
|
2020-03-24 15:43:42 +00:00
|
|
|
Debugger.stepInto called
|
2020-03-17 17:25:36 +00:00
|
|
|
Paused at wasm://wasm/42af3c82:0:59
|
2020-03-13 11:51:04 +00:00
|
|
|
Debugger.resume called
|
2020-03-17 17:25:36 +00:00
|
|
|
Paused at wasm://wasm/42af3c82:0:73
|
2020-03-19 10:40:47 +00:00
|
|
|
Debugger.stepInto called
|
|
|
|
Paused at wasm://wasm/42af3c82:0:52
|
2020-03-13 11:51:04 +00:00
|
|
|
Debugger.stepOver called
|
2020-03-19 10:40:47 +00:00
|
|
|
Paused at wasm://wasm/42af3c82:0:53
|
2020-03-12 16:39:26 +00:00
|
|
|
Debugger.stepOver called
|
2020-03-19 10:40:47 +00:00
|
|
|
Paused at wasm://wasm/42af3c82:0:54
|
2020-03-12 16:39:26 +00:00
|
|
|
Debugger.stepOver called
|
2020-03-17 17:25:36 +00:00
|
|
|
Paused at wasm://wasm/42af3c82:0:73
|
2020-03-19 10:40:47 +00:00
|
|
|
Debugger.resume called
|
|
|
|
Paused at wasm://wasm/42af3c82:0:52
|
|
|
|
Debugger.resume called
|
|
|
|
Paused at :0:24
|
2020-03-13 11:51:04 +00:00
|
|
|
Debugger.resume called
|
|
|
|
exports.main returned!
|
2020-03-17 17:25:36 +00:00
|
|
|
Test stepping over a recursive call
|
|
|
|
Setting breakpoint on the recursive call instruction @+93, url wasm://wasm/42af3c82
|
|
|
|
{
|
|
|
|
columnNumber : 93
|
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
}
|
|
|
|
Paused at wasm://wasm/42af3c82:0:93
|
|
|
|
Removing breakpoint
|
|
|
|
Debugger.stepOver called
|
|
|
|
Paused at wasm://wasm/42af3c82:0:95
|
|
|
|
Debugger.resume called
|
2020-03-12 16:39:26 +00:00
|
|
|
Finished!
|