Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: test/inspector/debugger/wasm-get-breakable-locations-expected.txt

Issue 2655653003: [inspector] Expose GetPossibleBreakpoints for wasm (Closed)
Patch Set: Introduce Init method and clang-format wasm-translation.cc Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/inspector/debugger/wasm-get-breakable-locations.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..aed75bfc856f52d0021cfd4bfa46c31dfcfcc4bb
--- /dev/null
+++ b/test/inspector/debugger/wasm-get-breakable-locations-expected.txt
@@ -0,0 +1,87 @@
+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-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
+Setting a breakpoint on each breakable location...
+Setting at wasm://wasm/wasm-824d794e/wasm-824d794e-0:2:2
+Success!
+Setting at wasm://wasm/wasm-824d794e/wasm-824d794e-0:3:2
+Success!
+Setting at wasm://wasm/wasm-824d794e/wasm-824d794e-0:4:2
+Success!
+Setting at wasm://wasm/wasm-824d794e/wasm-824d794e-0:5:0
+Success!
+Setting at wasm://wasm/wasm-824d794e/wasm-824d794e-1:1:2
+Success!
+Setting at wasm://wasm/wasm-824d794e/wasm-824d794e-1:2:2
+Success!
+Setting at wasm://wasm/wasm-824d794e/wasm-824d794e-1:3:4
+Success!
+Setting at wasm://wasm/wasm-824d794e/wasm-824d794e-1:4:6
+Success!
+Setting at wasm://wasm/wasm-824d794e/wasm-824d794e-1:5:4
+Success!
+Setting at wasm://wasm/wasm-824d794e/wasm-824d794e-1:6:2
+Success!
+Setting at wasm://wasm/wasm-824d794e/wasm-824d794e-1:7:0
+Success!
+Running wasm code...
+Missing breakpoints: 11
+Script nr 4 parsed. URL: v8://test/runWasm
+Stopped at wasm://wasm/wasm-824d794e/wasm-824d794e-1:1:2
+Missing breakpoints: 10
+Stopped at wasm://wasm/wasm-824d794e/wasm-824d794e-1:2:2
+Missing breakpoints: 9
+Stopped at wasm://wasm/wasm-824d794e/wasm-824d794e-1:3:4
+Missing breakpoints: 8
+Stopped at wasm://wasm/wasm-824d794e/wasm-824d794e-1:4:6
+Missing breakpoints: 7
+Stopped at wasm://wasm/wasm-824d794e/wasm-824d794e-0:2:2
+Missing breakpoints: 6
+Stopped at wasm://wasm/wasm-824d794e/wasm-824d794e-0:3:2
+Missing breakpoints: 5
+Stopped at wasm://wasm/wasm-824d794e/wasm-824d794e-0:4:2
+Missing breakpoints: 4
+Stopped at wasm://wasm/wasm-824d794e/wasm-824d794e-0:5:0
+Missing breakpoints: 3
+Stopped at wasm://wasm/wasm-824d794e/wasm-824d794e-1:5:4
+Missing breakpoints: 2
+Stopped at wasm://wasm/wasm-824d794e/wasm-824d794e-1:6:2
+Missing breakpoints: 1
+Stopped at wasm://wasm/wasm-824d794e/wasm-824d794e-1:7:0
+Missing breakpoints: 0
+Finished!
« no previous file with comments | « test/inspector/debugger/wasm-get-breakable-locations.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698