In this talk, I will demonstrate 3 powerful debugging techniques using Ruby's new debugger ruby/debug
:
- Step-debugging
- Frame navigation
- Breakpoint commands
By using them together, we can reduce unnecessary context switching and make our debugging sessions more efficient.
You will also learn more about ruby/debug
while we walk through these techniques with its commands and console.
And finally, I will show you how to level up our productivity even further by automating debugging steps using ruby/debug
's scriptable breakpoints.