Peter's Blog

Redefining the Impossible

Eclipse and the RDT Ruby Debugger


Decided to try getting the Ruby Debugger working in my Eclipse install. I installed the ruby-debug-ide gem as stated in the debugger setup page but the debugger would not work: it kept coming up with an error about not being able to find rdebug-ide.

Googling gave mention of a bug where the path to the rdebug-ide had too many 'bin's in it: instead of looking in c:\ruby\bin it was looking in c:\ruby\bin\bin. I fixed the problem by creating a copy of c:\ruby\bin\rdebug-ide.cmd and placing it in c:\ruby\bin\bin.

I'm not sure if this problem has been fixed properly: the guy who wrote RDT is now working for Aptana and Aptana seem to be trying to set up a paid business model and their update site doesn't have RDT in it. I don't know if my RDT is the latest version or if it is available or from where.

Anyway, the debugger is running. It looks ok but no interactive prompt sad Also seems to baulk at routine exception handlers inside code you want to skip over. It has some usability issues:

images/RDT.jpg

Not a wonderful debugger, thank heavens for print statements.


Filed under: eclipse ruby

Have Your Say

I welcome constructive comments or questions but I reserve the right to delete any comments that displease me.

Who are you?

(Optional) If you enter an email address here I might email you back. Your email address will not be sold to spammers or shown anywhere

What do you have to say?