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

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

Issue 2651043004: [wasm] Add inspector test for stepping (Closed)
Patch Set: Beautification Created 3 years, 10 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Installing code an global variable.
2 Calling instantiate function.
3 Waiting for two wasm scripts to be parsed.
4 Ignoring script with url v8://test/callInstantiate
5 Got wasm script: wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0
6 Requesting source for wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0...
7 Got wasm script: wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1
8 Requesting source for wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1...
9 func $wasm_A
10 nop
11 nop
12 end
13
14 func $wasm_B (param i32)
15 loop
16 get_local 0
17 if
18 get_local 0
19 i32.const 1
20 i32.sub
21 set_local 0
22 call 0
23 br 1
24 end
25 end
26 end
27
28 Setting breakpoint on line 7 (on the setlocal before the call), url wasm://wasm/ wasm-ccfaf3fa/wasm-ccfaf3fa-1
29 {
30 columnNumber : 6
31 lineNumber : 7
32 scriptId : <scriptId>
33 }
34 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:7:6: >set_local 0
35 Step action: stepInto
36 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:8:6: >call 0
37 Step action: stepInto
38 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:1:2: >nop
39 Step action: stepOver
40 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:2:2: >nop
41 Step action: stepOut
42 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:9:6: >br 1
43 Step action: stepOut
44 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:7:6: >set_local 0
45 Step action: stepOver
46 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:8:6: >call 0
47 Step action: stepOver
48 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:9:6: >br 1
49 Step action: resume
50 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:7:6: >set_local 0
51 Step action: stepInto
52 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:8:6: >call 0
53 Step action: stepInto
54 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:1:2: >nop
55 Step action: stepOut
56 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:9:6: >br 1
57 Step action: stepInto
58 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:1:2: >loop
59 Step action: stepInto
60 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:2:4: >get_local 0
61 Step action: stepInto
62 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:3:4: >if
63 Step action: stepInto
64 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:4:6: >get_local 0
65 Step action: stepInto
66 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:5:6: >i32.const 1
67 Step action: stepInto
68 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:6:6: >i32.sub
69 Step action: stepInto
70 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:7:6: >set_local 0
71 Step action: stepInto
72 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-1:8:6: >call 0
73 Step action: stepInto
74 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:1:2: >nop
75 Step action: stepInto
76 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:2:2: >nop
77 Step action: stepInto
78 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:3:0: >end
79 Step action: stepInto
80 Paused at wasm://wasm/wasm-ccfaf3fa/wasm-ccfaf3fa-0:0:0: >func $wasm_A
81 Step action: resume
82 exports.main returned!
83 Finished!
OLDNEW
« 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