Ruby Debugging
Built-in debugger
- Step through code and inspect program state at will, more flexible than logging
- Two sets of commands, beginner and advanced
- Beginner consists of basic break/inspect/step/continue functionality common to most debuggers
- Advanced includes watchpoints, catchpoints, tracing and thread/stack inspection
- Beginner commands can be learned in a few minutes, and are good enough for most debugging scenarios
- Advanced commands help when debugging loops or sporadic errors when stepping through code is tedious