~/talk

Debugging for Scala Control Flow DSLs

Talkat The Scala Workshop 2025 · on Sunday, 2025-10-12· [scala]
links:none on file
slides:none on file

A prototype instruments a Scala control‑flow DSL (reimplemented with the standard tail‑calls module) to emit source locations and captured locals, then serves them over an in‑process Debug Adapter Protocol link to the IDE. The demo reconstructs a deep, readable call stack and supports breakpoints and single‑stepping; implementation is ~380 lines of code and uses synchronized thread handoff and optional Eclipse libraries. It manually captures locals (e.g. n), handles runtime object rewrites, and successfully displays a reconstructed call stack in the IDE while raising questions about generality and native debugger multiplexing.

AI-written summary · about

  1. 0:00Debugging control flow DSLs
  2. 3:09Indirect style DSLs debugging
  3. 4:16Live demo: call stack
  4. 7:09Debug info in DSLs
  5. 9:38Instrumenting DSL implementation
  6. 10:42Debug adapter protocol server
  7. 11:48Reconstructed call stacks
  8. 13:31Native debugging with DSLs
  9. 14:12Future work
  10. 15:15Q&A
~/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.