Memory
This tests that we can inspect the Wasm memory in the linear memory inspector.
Steps
- Open DevTools
- Locate the Wasm function
get
from the memory.wasm
module and set a breakpoint on the i32.load
line
- Reload the page
- Breakpoint should hit the new breakpoint
- Now look at the Scope in the DevTools and right click on the
imports.memory
- Select "Reveal in Memory Inspector panel"
- The linear memory inspector should open
- Inspect memory and navigate