~/talk

A stop-the-world debugger for Erlang (and the BEAM)

Talkat Erlang 2025 · on Sunday, 2025-10-12
links:none on file
links:none on file
speakerdeck:robertoaloi
slides:none on file

edb extends OTP with a new debugging API and a compiler flag that emits beam debug info so the VM can install per-line trampolines (run-time jumps) and create stack frames on the fly; a debugger node injects support modules over distribution and suspends nearly all user processes while preserving timers to give an illusion of a stopped VM. Stepping is simulated by conditional breakpoints; running two and a half days of real WhatsApp tests shows overhead is acceptable. Available on GitHub and integrated into VS Code via the Erlang Language Platform.

AI-written summary · about

  1. 0:00Debugging challenges in Erlang
  2. 3:38Traditional debugger limits
  3. 5:30Stop-the-world debugger design
  4. 7:39Debugger system architecture
  5. 9:45VM changes for breakpoints
  6. 13:27Debugger primitives
  7. 14:33Suspending processes
  8. 16:41Timers during suspension
  9. 18:26Inspecting variables
  10. 20:18Stepping without VM changes
  11. 24:37Debugging performance impact
  12. 26:50Testing and adoption
  13. 27:10Debugger shortcuts
  14. 31:44Future improvements
  15. 32:06Debugger availability
~/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.