2018-10-08 11:33:09 +00:00
|
|
|
Tests stepping through wasm scripts.
|
|
|
|
Instantiating.
|
|
|
|
Waiting for two wasm scripts (ignoring first non-wasm script).
|
|
|
|
Source of script wasm://wasm/wasm-0c10a5fe/wasm-0c10a5fe-0:
|
|
|
|
1: func $wasm_A
|
|
|
|
2: nop
|
|
|
|
3: nop
|
|
|
|
4: end
|
2018-04-19 12:18:48 +00:00
|
|
|
|
2018-10-08 11:33:09 +00:00
|
|
|
Source of script wasm://wasm/wasm-0c10a5fe/wasm-0c10a5fe-1:
|
|
|
|
1: func $wasm_B (param i32)
|
|
|
|
2: loop
|
2019-05-20 23:36:09 +00:00
|
|
|
3: local.get 0
|
2018-10-08 11:33:09 +00:00
|
|
|
4: if
|
2019-05-20 23:36:09 +00:00
|
|
|
5: local.get 0
|
2018-10-08 11:33:09 +00:00
|
|
|
6: i32.const 1
|
|
|
|
7: i32.sub
|
2019-05-20 23:36:09 +00:00
|
|
|
8: local.set 0
|
2018-10-08 11:33:09 +00:00
|
|
|
9: call 0
|
|
|
|
10: br 1
|
|
|
|
11: end
|
|
|
|
12: end
|
|
|
|
13: end
|
2018-04-19 12:18:48 +00:00
|
|
|
|
2018-10-08 11:33:09 +00:00
|
|
|
Setting breakpoint on line 8 on script wasm://wasm/wasm-0c10a5fe/wasm-0c10a5fe-1
|
|
|
|
Setting breakpoint on line 7 on script wasm://wasm/wasm-0c10a5fe/wasm-0c10a5fe-1
|
|
|
|
Setting breakpoint on line 6 on script wasm://wasm/wasm-0c10a5fe/wasm-0c10a5fe-1
|
|
|
|
Setting breakpoint on line 5 on script wasm://wasm/wasm-0c10a5fe/wasm-0c10a5fe-1
|
|
|
|
Setting breakpoint on line 3 on script wasm://wasm/wasm-0c10a5fe/wasm-0c10a5fe-1
|
|
|
|
Setting breakpoint on line 4 on script wasm://wasm/wasm-0c10a5fe/wasm-0c10a5fe-1
|
|
|
|
Calling main(4)
|
|
|
|
Breaking on line 3
|
|
|
|
Breaking on line 4
|
|
|
|
Breaking on line 5
|
|
|
|
Breaking on line 6
|
|
|
|
Breaking on line 7
|
|
|
|
Breaking on line 8
|
|
|
|
Breaking on line 3
|
|
|
|
Breaking on line 4
|
|
|
|
Breaking on line 5
|
|
|
|
Breaking on line 6
|
|
|
|
Breaking on line 7
|
|
|
|
Breaking on line 8
|
|
|
|
Breaking on line 3
|
|
|
|
Breaking on line 4
|
|
|
|
Breaking on line 5
|
|
|
|
Breaking on line 6
|
|
|
|
Breaking on line 7
|
|
|
|
Breaking on line 8
|
|
|
|
Breaking on line 3
|
|
|
|
Breaking on line 4
|
|
|
|
Breaking on line 5
|
|
|
|
Breaking on line 6
|
|
|
|
Breaking on line 7
|
|
|
|
Breaking on line 8
|
|
|
|
Breaking on line 3
|
2018-04-19 12:18:48 +00:00
|
|
|
exports.main returned!
|
|
|
|
Finished!
|