Tests breakable locations in wasm
Running testFunction...
Script nr 0 parsed. URL: v8://test/setup
Script nr 1 parsed. URL: v8://test/runTestFunction
Script nr 2 parsed. URL: wasm://wasm/wasm-354ada0e/wasm-354ada0e-0
This is a wasm script (nr 0).
Script nr 3 parsed. URL: wasm://wasm/wasm-354ada0e/wasm-354ada0e-1
This is a wasm script (nr 1).
Querying breakable locations for all wasm scripts now...
Requesting all breakable locations in wasm script 0
4 breakable location(s):
[0] 2:2 ||   >nop
[1] 3:2 ||   >i32.const 12
[2] 4:2 ||   >set_local 0
[3] 5:0 || >end
Requesting breakable locations in lines [0,3)
1 breakable location(s):
[0] 2:2 ||   >nop
Requesting breakable locations in lines [4,6)
2 breakable location(s):
[0] 4:2 ||   >set_local 0
[1] 5:0 || >end
Requesting all breakable locations in wasm script 1
7 breakable location(s):
[0] 1:2 ||   >get_local 0
[1] 2:2 ||   >if
[2] 3:4 ||     >block
[3] 4:6 ||       >call 0
[4] 5:4 ||     >end
[5] 6:2 ||   >end
[6] 7:0 || >end
Requesting breakable locations in lines [0,3)
2 breakable location(s):
[0] 1:2 ||   >get_local 0
[1] 2:2 ||   >if
Requesting breakable locations in lines [4,6)
2 breakable location(s):
[0] 4:6 ||       >call 0
[1] 5:4 ||     >end
Setting a breakpoint on each breakable location...
Setting at wasm://wasm/wasm-354ada0e/wasm-354ada0e-0:2:2
Success!
Setting at wasm://wasm/wasm-354ada0e/wasm-354ada0e-0:3:2
Success!
Setting at wasm://wasm/wasm-354ada0e/wasm-354ada0e-0:4:2
Success!
Setting at wasm://wasm/wasm-354ada0e/wasm-354ada0e-0:5:0
Success!
Setting at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:1:2
Success!
Setting at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:2:2
Success!
Setting at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:3:4
Success!
Setting at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:4:6
Success!
Setting at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:5:4
Success!
Setting at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:6:2
Success!
Setting at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:7:0
Success!
Running wasm code...
Missing breakpoints: 11
Script nr 4 parsed. URL: v8://test/runWasm
Stopped at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:1:2
Missing breakpoints: 10
Stopped at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:2:2
Missing breakpoints: 9
Stopped at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:3:4
Missing breakpoints: 8
Stopped at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:4:6
Missing breakpoints: 7
Stopped at wasm://wasm/wasm-354ada0e/wasm-354ada0e-0:2:2
Missing breakpoints: 6
Stopped at wasm://wasm/wasm-354ada0e/wasm-354ada0e-0:3:2
Missing breakpoints: 5
Stopped at wasm://wasm/wasm-354ada0e/wasm-354ada0e-0:4:2
Missing breakpoints: 4
Stopped at wasm://wasm/wasm-354ada0e/wasm-354ada0e-0:5:0
Missing breakpoints: 3
Stopped at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:5:4
Missing breakpoints: 2
Stopped at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:6:2
Missing breakpoints: 1
Stopped at wasm://wasm/wasm-354ada0e/wasm-354ada0e-1:7:0
Missing breakpoints: 0
Finished!
