7074113d7e
Before adding another test for removing breakpoint, this CL modernizes the existing test for setting breakpoints. R=kozy@chromium.org CC=ahaas@chromium.org Bug: chromium:837572 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I642f9673f327f4ec569a4f67a61b5e264cf25b8f Reviewed-on: https://chromium-review.googlesource.com/c/1264636 Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#56514}
59 lines
1.5 KiB
Plaintext
59 lines
1.5 KiB
Plaintext
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
|
|
|
|
Source of script wasm://wasm/wasm-0c10a5fe/wasm-0c10a5fe-1:
|
|
1: func $wasm_B (param i32)
|
|
2: loop
|
|
3: get_local 0
|
|
4: if
|
|
5: get_local 0
|
|
6: i32.const 1
|
|
7: i32.sub
|
|
8: set_local 0
|
|
9: call 0
|
|
10: br 1
|
|
11: end
|
|
12: end
|
|
13: end
|
|
|
|
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
|
|
exports.main returned!
|
|
Finished!
|