Control debugger from the program by binding.break do: expr
11
Step execution Step-in, Step-over, Step-out
12
Advanced features
13
Demo: Seamless integration with VSCode/Chrome browser
14
Demo: Start VSCode for debugger frontend
15
Demo: Postmortem debugging Debug dead Ruby process
16
Demo: Record and replay debugging Backward stepping execution
17
Performance
18
Acknowledgements
19
Conclusion
20
Thank you for your listening!
Description:
Explore Ruby's new debugging functionality in this RubyConf 2021 talk by Koichi Sasada. Discover the advantages of ruby/debug, a completely rewritten debugger for Ruby 3.1, including its speed, remote debugging capabilities, native VSCode integration, and support for threads and Ractors. Learn about basic and advanced features through live demonstrations, such as setting breakpoints, controlling the debugger from within programs, and step-by-step execution. Gain insights into seamless integration with VSCode and Chrome browser, postmortem debugging of dead Ruby processes, and record-and-replay debugging with backward stepping execution. Understand the performance improvements and acknowledge the contributors behind this powerful new tool for Ruby development.