blob: 422aa8b9f32036b96ab6936d951e80efbad66023 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
Tests stepping from javascript into wasm
Installing code and global variable.
Calling instantiate function.
Waiting for wasm scripts to be parsed.
Ignoring script with url v8://test/callInstantiate
Got wasm script: wasm://wasm/fa045c1e
Setting breakpoint on line 3 of wasm function
{
columnNumber : 37
lineNumber : 0
scriptId : <scriptId>
}
paused
function test() {
#debugger;
instance.exports.main(1);
Debugger.stepInto
paused
debugger;
#instance.exports.main(1);
}
Debugger.stepInto
paused
Script wasm://wasm/fa045c1e byte offset 35: Wasm opcode 0x20
Debugger.resume
paused
Script wasm://wasm/fa045c1e byte offset 37: Wasm opcode 0x41
Debugger.resume
exports.main returned!
Finished!
|