Tests stepping through wasm scripts.

Running test: test
Instantiating.
Waiting for wasm script (ignoring first non-wasm script).
Setting breakpoint at offset 38 on script wasm://wasm/0c10a5fe
Calling main(4)
Paused:
Script wasm://wasm/0c10a5fe byte offset 38: Wasm opcode 0x01 (kExprNop)
Scope:
at $wasm_A (0:38):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at $wasm_B (0:56):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 3 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Setting breakpoint at offset 39 on script v8://test/runWasm
Setting breakpoint at offset 61 on script v8://test/runWasm
Setting breakpoint at offset 60 on script v8://test/runWasm
Setting breakpoint at offset 54 on script v8://test/runWasm
Setting breakpoint at offset 53 on script v8://test/runWasm
Setting breakpoint at offset 51 on script v8://test/runWasm
Setting breakpoint at offset 49 on script v8://test/runWasm
Setting breakpoint at offset 45 on script v8://test/runWasm
Setting breakpoint at offset 47 on script v8://test/runWasm
Paused:
Script wasm://wasm/0c10a5fe byte offset 39: Wasm opcode 0x01 (kExprNop)
Scope:
at $wasm_A (0:39):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at $wasm_B (0:56):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 3 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 45: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at $wasm_B (0:45):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 3 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 47: Wasm opcode 0x04 (kExprIf)
Scope:
at $wasm_B (0:47):
 - scope (wasm-expression-stack):
   stack: "0": 3 (i32)
 - scope (local):
   $var0: 3 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 49: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at $wasm_B (0:49):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 3 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 51: Wasm opcode 0x41 (kExprI32Const)
Scope:
at $wasm_B (0:51):
 - scope (wasm-expression-stack):
   stack: "0": 3 (i32)
 - scope (local):
   $var0: 3 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 53: Wasm opcode 0x6b (kExprI32Sub)
Scope:
at $wasm_B (0:53):
 - scope (wasm-expression-stack):
   stack: "0": 3 (i32), "1": 1 (i32)
 - scope (local):
   $var0: 3 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 54: Wasm opcode 0x21 (kExprLocalSet)
Scope:
at $wasm_B (0:54):
 - scope (wasm-expression-stack):
   stack: "0": 2 (i32)
 - scope (local):
   $var0: 3 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 38: Wasm opcode 0x01 (kExprNop)
Scope:
at $wasm_A (0:38):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at $wasm_B (0:56):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 2 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 39: Wasm opcode 0x01 (kExprNop)
Scope:
at $wasm_A (0:39):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at $wasm_B (0:56):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 2 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 45: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at $wasm_B (0:45):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 2 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 47: Wasm opcode 0x04 (kExprIf)
Scope:
at $wasm_B (0:47):
 - scope (wasm-expression-stack):
   stack: "0": 2 (i32)
 - scope (local):
   $var0: 2 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 49: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at $wasm_B (0:49):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 2 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 51: Wasm opcode 0x41 (kExprI32Const)
Scope:
at $wasm_B (0:51):
 - scope (wasm-expression-stack):
   stack: "0": 2 (i32)
 - scope (local):
   $var0: 2 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 53: Wasm opcode 0x6b (kExprI32Sub)
Scope:
at $wasm_B (0:53):
 - scope (wasm-expression-stack):
   stack: "0": 2 (i32), "1": 1 (i32)
 - scope (local):
   $var0: 2 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 54: Wasm opcode 0x21 (kExprLocalSet)
Scope:
at $wasm_B (0:54):
 - scope (wasm-expression-stack):
   stack: "0": 1 (i32)
 - scope (local):
   $var0: 2 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 38: Wasm opcode 0x01 (kExprNop)
Scope:
at $wasm_A (0:38):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at $wasm_B (0:56):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 1 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 39: Wasm opcode 0x01 (kExprNop)
Scope:
at $wasm_A (0:39):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at $wasm_B (0:56):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 1 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 45: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at $wasm_B (0:45):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 1 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 47: Wasm opcode 0x04 (kExprIf)
Scope:
at $wasm_B (0:47):
 - scope (wasm-expression-stack):
   stack: "0": 1 (i32)
 - scope (local):
   $var0: 1 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 49: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at $wasm_B (0:49):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 1 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 51: Wasm opcode 0x41 (kExprI32Const)
Scope:
at $wasm_B (0:51):
 - scope (wasm-expression-stack):
   stack: "0": 1 (i32)
 - scope (local):
   $var0: 1 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 53: Wasm opcode 0x6b (kExprI32Sub)
Scope:
at $wasm_B (0:53):
 - scope (wasm-expression-stack):
   stack: "0": 1 (i32), "1": 1 (i32)
 - scope (local):
   $var0: 1 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 54: Wasm opcode 0x21 (kExprLocalSet)
Scope:
at $wasm_B (0:54):
 - scope (wasm-expression-stack):
   stack: "0": 0 (i32)
 - scope (local):
   $var0: 1 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 38: Wasm opcode 0x01 (kExprNop)
Scope:
at $wasm_A (0:38):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at $wasm_B (0:56):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 0 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 39: Wasm opcode 0x01 (kExprNop)
Scope:
at $wasm_A (0:39):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at $wasm_B (0:56):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 0 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 45: Wasm opcode 0x20 (kExprLocalGet)
Scope:
at $wasm_B (0:45):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 0 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 47: Wasm opcode 0x04 (kExprIf)
Scope:
at $wasm_B (0:47):
 - scope (wasm-expression-stack):
   stack: "0": 0 (i32)
 - scope (local):
   $var0: 0 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
Paused:
Script wasm://wasm/0c10a5fe byte offset 61: Wasm opcode 0x0b (kExprEnd)
Scope:
at $wasm_B (0:61):
 - scope (wasm-expression-stack):
   stack: 
 - scope (local):
   $var0: 0 (i32)
 - scope (module):
   instance: exports: "main" (Function)
   module: Module
   functions: "$wasm_A": (Function), "$wasm_B": (Function)
at (anonymous) (0:17):
   -- skipped
exports.main returned!
