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

Unified Diff: test/inspector/debugger/wasm-stepping-expected.txt

Issue 2651043004: [wasm] Add inspector test for stepping (Closed)
Patch Set: Beautification 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-stepping.js ('k') | test/inspector/protocol-test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/debugger/wasm-stepping-expected.txt
diff --git a/test/inspector/debugger/wasm-stepping-expected.txt b/test/inspector/debugger/wasm-stepping-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e5e6f9e4b9546c3c72222a53564229b50ccc005
--- /dev/null
+++ b/test/inspector/debugger/wasm-stepping-expected.txt
@@ -0,0 +1,83 @@
+Installing code an global variable.
+Calling instantiate function.
+Waiting for two wasm scripts to be parsed.
+Ignoring script with url v8://test/callInstantiate
+Got wasm script: wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0
+Requesting source for wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0...
+Got wasm script: wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1
+Requesting source for wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1...
+func $wasm_A
+ nop
+ nop
+end
+
+func $wasm_B (param i32)
+ loop
+ get_local 0
+ if
+ get_local 0
+ i32.const 1
+ i32.sub
+ set_local 0
+ call 0
+ br 1
+ end
+ end
+end
+
+Setting breakpoint on line 7 (on the setlocal before the call), url wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1
+{
+ columnNumber : 6
+ lineNumber : 7
+ scriptId : <scriptId>
+}
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:7:6: >set_local 0
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:8:6: >call 0
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:1:2: >nop
+Step action: stepOver
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:2:2: >nop
+Step action: stepOut
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:9:6: >br 1
+Step action: stepOut
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:7:6: >set_local 0
+Step action: stepOver
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:8:6: >call 0
+Step action: stepOver
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:9:6: >br 1
+Step action: resume
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:7:6: >set_local 0
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:8:6: >call 0
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:1:2: >nop
+Step action: stepOut
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:9:6: >br 1
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:1:2: >loop
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:2:4: >get_local 0
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:3:4: >if
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:4:6: >get_local 0
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:5:6: >i32.const 1
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:6:6: >i32.sub
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:7:6: >set_local 0
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:8:6: >call 0
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:1:2: >nop
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:2:2: >nop
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:3:0: >end
+Step action: stepInto
+Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:0:0: >func $wasm_A
+Step action: resume
+exports.main returned!
+Finished!
« no previous file with comments | « test/inspector/debugger/wasm-stepping.js ('k') | test/inspector/protocol-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698