Koichi Sasada
Koichi Sasada
Koichi Sasada is a programmer, mainly developing Ruby interpreter (CRuby/MRI). He received Ph.D (Information Science and Technology) from the University of Tokyo, 2007. Now he is still working on MRI development at Cookpad Inc. He is also a director of Ruby Association.
The Art of Execution Control for Ruby's Debugger

We introduce 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.

Presentation Material

Recorded video