debug.gem (ruby/debug: Debugging functionality for Ruby), the fastest debugger for Ruby and how to make it.
Existing debuggers have performance penalty to control execution.
debug.gem uses recently introduced
TracePoint features to mange execution and there is (almost) no penalties.
debug.gem has more interesting features:
- Remote debugging
- IDE (VSCode) Integration
- Thread/Ractor support
- and more
In this presentation, we introduce newly created
debug.gem and show the tricks to make the fastest debugger.