Debug.gem - Ruby's New Debug Functionality
Offered By: Ruby Central via YouTube
Course Description
Overview
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.
Syllabus
Intro
About Koichi Sasada
What is a debugger?
Ruby's existing debuggers
Why create yet another debugger?
debug.gem
Demo: Basic usage
Basic features
Set a breakpoint
Control debugger from the program by binding.break do: expr
Step execution Step-in, Step-over, Step-out
Advanced features
Demo: Seamless integration with VSCode/Chrome browser
Demo: Start VSCode for debugger frontend
Demo: Postmortem debugging Debug dead Ruby process
Demo: Record and replay debugging Backward stepping execution
Performance
Acknowledgements
Conclusion
Thank you for your listening!
Taught by
Ruby Central
Related Courses
Web Application ArchitecturesUniversity of New Mexico via Coursera Ruby مدخل إلى برمجة مواقع الإنترنت باستخدام لغة
Rwaq (رواق) Rails with Active Record and Action Pack
Johns Hopkins University via Coursera Ruby on Rails: An Introduction
Johns Hopkins University via Coursera Ruby on Rails Web Services and Integration with MongoDB
Johns Hopkins University via Coursera