Index: test/inspector/debugger/wasm-get-breakable-locations-expected.txt |
diff --git a/test/inspector/debugger/wasm-get-breakable-locations-expected.txt b/test/inspector/debugger/wasm-get-breakable-locations-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bb02b5e751771e776abf56647cf8d41ad9cd690d |
--- /dev/null |
+++ b/test/inspector/debugger/wasm-get-breakable-locations-expected.txt |
@@ -0,0 +1,39 @@ |
+Running testFunction... |
+Script nr 0 parsed. URL: v8://test/testFunction |
+Script nr 1 parsed. URL: v8://test/runTestFunction |
+Script nr 2 parsed. URL: wasm://wasm/wasm-824d794e/wasm-824d794e-0 |
+This is a wasm script (nr 0). |
+Script nr 3 parsed. URL: wasm://wasm/wasm-824d794e/wasm-824d794e-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 |
+Finished! |