Before you start
This tutorial teaches you how to use the debugger shipped with Ruby. It also presents several other methods for finding and fixing problems in your code. After presenting an overview of debugging and a primer for the Ruby debugger, this tutorial moves on to show the debugger in use.
This tutorial is written for the novice Ruby Programmer. To complete it successfully, you should have Ruby installed on your system, and you need some experience with the language.
To run the examples or sample code in this tutorial, you need a current version of Ruby (V1.8.2, as of this writing). Everything else you need is built right into that version.