Stepping with state

This tests that we can successfully complete a debugging session with state, including setting breakpoints, deleting breakpoints, and stepping.

Steps

  1. Open DevTools
  2. Open stepping-with-state.wasm
  3. Set a breakpoint at function addMultiply on line local.get $var0
  4. Reload
  5. Breakpoint should hit set breakpoint
  6. Step 2 times and inspect the variables in the scope view
  7. Remove breakpoint
  8. Set a breakpoint at function mul on line local.get $var0
  9. Reload
  10. Breakpoint should hit the new breakpoint
  11. Step 2 times and inspect the variables in the scope view
  12. Resume