Tables

This tests that the Scope view and the Console in DevTools provides access to tables in the WebAssembly module instance.

Steps

  1. Open DevTools
  2. Locate the Wasm function inc from the tables.wasm module and set a breakpoint on the local.get $x line
  3. Reload the page
  4. DevTools should hit the new breakpoint
  5. Now look at the Scope in the DevTools and make sure that it shows the incdec table with the two function entries
  6. Now type $incdec into the Console, that should show the WebAssembly table with the two entries