Sanju Nath wrote:
>... but when I try to debug a ruby file, I get this message:
> 
> ****************
> ruby 1.8.4 debugger listens on port 2107
> 
The RDT debugger doesn't work with Ruby 1.8.4. It works with 1.8.2.  (I 
wasted a half day discovering this.) See 
http://rubyeclipse.mktec.com/cgi-bin/trac.py/ticket/81

Some have pointed out that Eclipse can be configured to use one Ruby 
interpreter for normal runs and another for debugging runs.  This works 
to some extent -- if you're using plain Ruby.  OTOH, if you're using 
something like Ruby Tk, then it becomes more challenging (PITA) to get 
it to use the right version of Ruby with the right version of the 
dependency and the right version of the .so library to do the interface.

I haven't decided whether to rollback to 1.8.2.  If I stay with 1.8.4, 
I'll still use Eclipse for most work and I'll use "ruby -rdebug" should 
I need to use a debugger.  If debugging gets too hairy, I'll buy a copy 
of Komodo or Arachno.

-- 
Posted via http://www.ruby-forum.com/.