Test retrieving scope information when pausing in wasm functions Calling instantiate function. Waiting for wasm script to be parsed. Got wasm script! Setting breakpoint on first instruction of second function { columnNumber : 69 lineNumber : 0 scriptId : } Paused: Script wasm://wasm/d374ef0a byte offset 69: Wasm opcode 0x41 Scope: at func (0:69): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 4 (i32), "var1": 0 (i32), "i64_local": 0 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 71: Wasm opcode 0x21 Scope: at func (0:71): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 4 (i32), "var1": 0 (i32), "i64_local": 0 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): 0: 11 (i32) at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 73: Wasm opcode 0x41 Scope: at func (0:73): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 0 (i32), "i64_local": 0 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 75: Wasm opcode 0x21 Scope: at func (0:75): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 0 (i32), "i64_local": 0 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): 0: 47 (i32) at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 77: Wasm opcode 0x42 Scope: at func (0:77): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": 0 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 88: Wasm opcode 0x21 Scope: at func (0:88): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": 0 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): 0: 9223372036854775807 (i64) at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 90: Wasm opcode 0x42 Scope: at func (0:90): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": 9223372036854775807 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 101: Wasm opcode 0x21 Scope: at func (0:101): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": 9223372036854775807 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): 0: -9223372036854775808 (i64) at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 103: Wasm opcode 0x41 Scope: at func (0:103): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 105: Wasm opcode 0xb8 Scope: at func (0:105): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): 0: 1 (i32) at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 106: Wasm opcode 0x41 Scope: at func (0:106): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): 0: 1 (f64) at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 108: Wasm opcode 0xb8 Scope: at func (0:108): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): 0: 1 (f64) 1: 7 (i32) at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 109: Wasm opcode 0xa3 Scope: at func (0:109): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): 0: 1 (f64) 1: 7 (f64) at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 110: Wasm opcode 0x21 Scope: at func (0:110): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0 (f64) - scope (wasm-expression-stack): 0: 0.14285714285714285 (f64) at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 112: Wasm opcode 0x41 Scope: at func (0:112): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0.14285714285714285 (f64) - scope (wasm-expression-stack): at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 114: Wasm opcode 0x24 Scope: at func (0:114): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0.14285714285714285 (f64) - scope (wasm-expression-stack): 0: 15 (i32) at call_func (0:58): - scope (module): globals: "global0": 0 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 116: Wasm opcode 0x0b Scope: at func (0:116): - scope (module): globals: "global0": 15 (i32) - scope (local): locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0.14285714285714285 (f64) - scope (wasm-expression-stack): at call_func (0:58): - scope (module): globals: "global0": 15 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: Script wasm://wasm/d374ef0a byte offset 60: Wasm opcode 0x0b Scope: at call_func (0:60): - scope (module): globals: "global0": 15 (i32) - scope (local): locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) - scope (wasm-expression-stack): at (anonymous) (0:17): - scope (global): -- skipped globals Paused: instance.exports.main(4)# Scope: at (anonymous) (0:24): - scope (global): -- skipped globals exports.main returned. Test finished.