Stepping in original source with state

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

Steps

  1. Open DevTools
  2. Open stepping-with-state.c
  3. Set a breakpoint at function main on line int n = 10
  4. Reload
  5. Breakpoint should hit set breakpoint
  6. Step a few times until the next line is hit
  7. Remove breakpoint
  8. Set a breakpoint at function multiplyByConstant on line for (int i = 0; i < length; ++i) {
  9. Reload
  10. Breakpoint should hit the new breakpoint
  11. Step a few times and inspect the wasm variables in the scope view
  12. Remove breakpoint
  13. Resume