~/talk

Behind the Scenes: Debugging Kotlin/Wasm

Talkat WasmCon 2024 · on Tuesday, 2024-11-12· at 15:30· Salt Palace | Level 3 | 355 D· [kotlin, webassembly]
slides:none on file

Kotlin compiles IR directly to Wasm binaries (no LLVM) and the toolchain relies on GC and reference types plus optional exception handling; debug UX comes from name and extended name sections and Source Map v3 with a generated sourceMappingURL custom section so browsers can map instructions back to Kotlin sources. Variable views use Chrome/Firefox custom formatters; an ignore list is used to hide intrinsics (now merged into V8). Outside the browser, toolchain emits DWARF (debug_info/debug_line) for lldb and aims to support Wasmtime and WAMR.

AI-written summary · about

  1. 0:00Kotlin/Wasm debugging intro
  2. 2:34In-browser debugging with DevTools
  3. 6:50Enhancing debug info with name sections
  4. 7:54Mapping instructions to source with Source Maps
  5. 10:45Customizing variable views in debuggers
  6. 14:16Improving debug experience with ignore lists
  7. 15:44Exploring Source Maps scope proposal
  8. 16:47Challenges with expression evaluation
  9. 18:30Outside-browser debugging with LLDB
  10. 20:23Generating DWARF debug info
  11. 23:13Future work and collaboration
~/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.