2022-08-24 10:44:11 +00:00
|
|
|
Test inspection of Wasm anyref objects
|
|
|
|
|
|
|
|
Running test: test
|
|
|
|
Calling instantiate function.
|
|
|
|
Waiting for wasm script to be parsed.
|
|
|
|
Got wasm script!
|
|
|
|
Module instantiated.
|
2022-09-22 08:15:06 +00:00
|
|
|
Tables populated.
|
|
|
|
Setting breakpoint
|
2022-08-24 10:44:11 +00:00
|
|
|
{
|
2022-11-14 12:49:02 +00:00
|
|
|
columnNumber : 260
|
2022-08-24 10:44:11 +00:00
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
}
|
|
|
|
Paused:
|
2022-11-14 12:49:02 +00:00
|
|
|
Script wasm://wasm/8fd0ec76 byte offset 260: Wasm opcode 0x01 (kExprNop)
|
2022-08-24 10:44:11 +00:00
|
|
|
Scope:
|
2022-11-14 12:49:02 +00:00
|
|
|
at $main (0:260):
|
2022-08-24 10:44:11 +00:00
|
|
|
- scope (wasm-expression-stack):
|
2022-11-10 16:28:57 +00:00
|
|
|
stack:
|
2022-08-24 10:44:11 +00:00
|
|
|
- scope (local):
|
2022-08-26 14:00:30 +00:00
|
|
|
$anyref_local: Struct ((ref $type0))
|
|
|
|
$anyref_local2: Array ((ref $type1))
|
2022-11-14 12:49:02 +00:00
|
|
|
$anyref_local_i31: 30 (anyref)
|
2022-08-26 14:00:30 +00:00
|
|
|
$anyref_local_null: null (anyref)
|
2022-08-24 10:44:11 +00:00
|
|
|
- scope (module):
|
2022-09-22 08:15:06 +00:00
|
|
|
instance: exports: "exported_ref_table" (Table), "exported_func_table" (Table), "fill_tables" (Function), "main" (Function)
|
2022-08-24 10:44:11 +00:00
|
|
|
module: Module
|
2022-09-22 08:15:06 +00:00
|
|
|
functions: "$my_func": (Function), "$fill_tables": (Function), "$main": (Function)
|
|
|
|
globals: "$global0": function $my_func() { [native code] } (funcref)
|
2022-11-10 16:28:57 +00:00
|
|
|
tables:
|
|
|
|
$import.any_table: 0: Array(2) (anyref), 1: Struct ((ref $type0)), 2: null (anyref)
|
|
|
|
$import.func_table: 0: function () { [native code] } (funcref), 1: function $my_func() { [native code] } (funcref), 2: null (funcref)
|
2022-11-14 12:49:02 +00:00
|
|
|
$exported_ref_table: 0: Struct ((ref $type0)), 1: Array ((ref $type1)), 2: 30 (anyref), 3: null (anyref)
|
2022-11-10 16:28:57 +00:00
|
|
|
$exported_func_table: 0: function external_fct() { [native code] } (funcref), 1: function $my_func() { [native code] } (funcref), 2: null (funcref)
|
2022-08-24 10:44:11 +00:00
|
|
|
at (anonymous) (0:17):
|
|
|
|
- scope (global):
|
|
|
|
-- skipped globals
|
|
|
|
|
|
|
|
exports.main returned. Test finished.
|