1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
|
Test retrieving scope information when pausing in wasm functions
Installing code and global variable.
Calling instantiate function.
Waiting for wasm script to be parsed.
Got wasm script!
Setting breakpoint on line 2 (first instruction)
{
columnNumber : 2
lineNumber : 2
scriptId : <scriptId>
}
Paused:
(local i32 i64 f64)
#i32.const 11
set_local 0
Scope:
at func (2:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 4 (number), "local#1": 0 (number), "i64_local": 0 (number), "unicode☼f64": 0 (number)
stack:
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
i32.const 11
#set_local 0
i32.const 47
Scope:
at func (3:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 4 (number), "local#1": 0 (number), "i64_local": 0 (number), "unicode☼f64": 0 (number)
stack: "0": 11 (number)
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
set_local 0
#i32.const 47
set_local 1
Scope:
at func (4:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 11 (number), "local#1": 0 (number), "i64_local": 0 (number), "unicode☼f64": 0 (number)
stack:
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
i32.const 47
#set_local 1
i64.const 9223372036854775807
Scope:
at func (5:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 11 (number), "local#1": 0 (number), "i64_local": 0 (number), "unicode☼f64": 0 (number)
stack: "0": 47 (number)
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
set_local 1
#i64.const 9223372036854775807
set_local 2
Scope:
at func (6:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 11 (number), "local#1": 47 (number), "i64_local": 0 (number), "unicode☼f64": 0 (number)
stack:
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
i64.const 9223372036854775807
#set_local 2
i64.const -9223372036854775808
Scope:
at func (7:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 11 (number), "local#1": 47 (number), "i64_local": 0 (number), "unicode☼f64": 0 (number)
stack: "0": 9223372036854775807 (string)
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
set_local 2
#i64.const -9223372036854775808
set_local 2
Scope:
at func (8:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 11 (number), "local#1": 47 (number), "i64_local": 9223372036854775807 (string), "unicode☼f64": 0 (number)
stack:
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
i64.const -9223372036854775808
#set_local 2
i32.const 1
Scope:
at func (9:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 11 (number), "local#1": 47 (number), "i64_local": 9223372036854775807 (string), "unicode☼f64": 0 (number)
stack: "0": -9223372036854775808 (string)
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
set_local 2
#i32.const 1
f64.convert_u/i32
Scope:
at func (10:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 11 (number), "local#1": 47 (number), "i64_local": -9223372036854775808 (string), "unicode☼f64": 0 (number)
stack:
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
i32.const 1
#f64.convert_u/i32
i32.const 7
Scope:
at func (11:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 11 (number), "local#1": 47 (number), "i64_local": -9223372036854775808 (string), "unicode☼f64": 0 (number)
stack: "0": 1 (number)
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
f64.convert_u/i32
#i32.const 7
f64.convert_u/i32
Scope:
at func (12:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 11 (number), "local#1": 47 (number), "i64_local": -9223372036854775808 (string), "unicode☼f64": 0 (number)
stack: "0": 1 (number)
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
i32.const 7
#f64.convert_u/i32
f64.div
Scope:
at func (13:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 11 (number), "local#1": 47 (number), "i64_local": -9223372036854775808 (string), "unicode☼f64": 0 (number)
stack: "0": 1 (number), "1": 7 (number)
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
f64.convert_u/i32
#f64.div
set_local 3
Scope:
at func (14:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 11 (number), "local#1": 47 (number), "i64_local": -9223372036854775808 (string), "unicode☼f64": 0 (number)
stack: "0": 1 (number), "1": 7 (number)
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
f64.div
#set_local 3
end
Scope:
at func (15:2):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 11 (number), "local#1": 47 (number), "i64_local": -9223372036854775808 (string), "unicode☼f64": 0 (number)
stack: "0": 0.14285714285714285 (number)
at (anonymous) (0:17):
- scope (global):
-- skipped globals
Paused:
set_local 3
#end
Scope:
at func (16:0):
- scope (global):
-- skipped globals
- scope (local):
locals: "i32Arg": 11 (number), "local#1": 47 (number), "i64_local": -9223372036854775808 (string), "unicode☼f64": 0.14285714285714285 (number)
stack:
at (anonymous) (0:17):
- scope (global):
-- skipped globals
exports.main returned. Test finished.
|