~/talk

WebAssembly Debugging Demystified

Talkat Wasm I/O 2023 · 2023-03-23..03-24· [webassembly, testing]
slides:none on file

Explains how to get line-level stacks out of wasm: DWARF debug file format and Source Maps enable original filenames and line numbers, browser DevTools then set breakpoints and show scopes, the webassembly binary toolkit decompiles and interprets binaries to find logic bugs, a demo edits the text-format and reassembles it to fix a Fibonacci bug, memory leaks get diagnosed with Memory Inspector in Chrome and heap dumps, and production symbolication uses wasm-split and Sentry to upload debug files.

AI-written summary · about

  1. 0:00WebAssembly debugging intro
  2. 1:46DWARF and Source Maps
  3. 3:56Browser DevTools for WASM
  4. 4:17Advanced WABT debugging
  5. 6:45Memory leaks in WASM
  6. 8:08Release binary prep
  7. 9:12Debug data with Build IDs
  8. 10:55Production exception monitoring
  9. 11:17Q&A on non-browser WASM
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.