This tests that externref parameters, locals, globals, and tables are shown with all relevant information in DevTools when paused in a Wasm function. This includes showing the JavaScript objects stored in parameters, locals, globals, and tables.
foo
from the externref.wasm
module and set a breakpoint on the global.get $ref_mut_global
linemodify_table
from the externref.wasm
module and set a breakpoint on the i32.const 0
linerefs
table with the following three entries at the positions 1, 2, and 3: {extern: 'ref'}
, {foo: 'bar'}
, {hello: 'world'}
$incdec
into the Console, that should show the WebAssembly table with the two entries