~/talk

Demystifying Ruby Debuggers: A Deep Dive into Internals

Talkat RubyKaigi 2025 · 2025-04-16..04-18· [ruby]
links:none on file
slides:none on file

Ruby debuggers rely on tracepoint and ISeq to hook events and inspect compiled bytecode, and a benchmark using a Fibonacci loop over 100 runs shows byebug is 20–25× slower than running without a debugger. Modern options like debug gem and RubyMine are performant because tracepoint improvements allow line/ISeq-targeted hooks. RubyMine supports Ruby 2.3+, can attach to running processes, launches Rails debugging in one click, and adds smart stepping and inline variable values to speed investigation.

AI-written summary · about

  1. 0:00Introduction to Ruby debuggers
  2. 1:34Tools to find bugs in Ruby
  3. 5:28Technologies powering Ruby debuggers
  4. 9:16How Ruby debuggers work internally
  5. 16:42Most performant Ruby debugger
  6. 18:27RubyMine debugger features
  7. 24:54Summary and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.