Stepping with state
This tests that we can successfully complete a debugging session with state, including
setting breakpoints, deleting breakpoints, and stepping.
Steps
- Open DevTools
- Open stepping-with-state.wasm
- Set a breakpoint at function
addMultiply
on line local.get $var0
- Reload
- Breakpoint should hit set breakpoint
- Step 2 times and inspect the variables in the scope view
- Remove breakpoint
- Set a breakpoint at function
mul
on line local.get $var0
- Reload
- Breakpoint should hit the new breakpoint
- Step 2 times and inspect the variables in the scope view
- Resume