The GHC Debugger
summary
A standalone debugger application uses the GHC library and implements the Debug Adapter Protocol so VS Code, Emacs and other DAP clients can attach; it supports expression-level breakpoints for interpreted code but not compiled code, and lazy values can be expanded on demand in the editor. The implementation fixes long-standing performance problems — step-local 4x speedup and 91% reduced allocations in the GC test suite — and exposes runtime type reconstruction and a GHC library DAP server with lazy variable expansion; multithreaded and reverse-debugging features are planned.
AI-written summary · about
chapters (8)
- 0:00Introduction to the debugger
- 1:35Live demonstration
- 6:49Design and development
- 9:51IDE integration via DAP
- 11:00Performance improvements
- 11:48New features and future goals
- 15:14Q&A session
- 19:58Closing and call to action
related talks
01h 01mDebugger: A Hidden Gem
24mGHC Plugin for Setting Breakpoints
23mdebug.gem: Ruby's new debug functionality
59m“GDB - A Lot More Than You Knew"
07mDebugging Go Code in VS Code
15mGive me 15 minutes & I'll change your view of GDB
26mghc-specter: a GHC plugin that inspects the GHC state on live
47mInteractive development with Dotty
