I’ve been developing a website with Ruby on Rails since August(more on the choice of the technology later). I like Ruby on Rails the framework a lot so far and it has made me very productive. However, the default debugger breakpointer (ruby script/breakpointer) is somewhat primitive. One of the big minuses is that breakpointer does not provide the functionality to step through your code. I didn’t feel that was a big problem because frankly the output from WEBrick and development.log, together with breakpointer allowed me to diagnose any problems I had until now.
The implementation of PayPal payment for my website changed my requirements and I now need to step through the code to have a better understanding of the payment process, to ensure payments are handled correctly. I dug around the net a little and found ruby-debug. The first version of ruby-debug was developed by Kent Sibilev in July. The current version of ruby-debug has very convenient features such as stepping into or over a line of code, viewing the code, saving your breakpoints to a file, etc. It has made my life a lot easier.
I’m currently running Ubuntu Dapper Drake and the installation of ruby-debug is very easy if you install Keep reading →
