I’m using the RDT plugin for Ruby development in Eclipse on Windows. It
works fairly well, but it doesn’t move the source window to the current
breakpoint line when it hits a breakpoint in the debugger, nor does it
even put an arrow or anything on the current line, so stepping through
code is not so fun. I’ve never used Eclipse before, so I’m not sure if
there is something I can set to make that work.
So I decided to try using ruby-debug as the debugger. I installed the
gems and at the command prompt it shows that rdebug-ide works (it’s on
my path), but when I select “Use ruby-debug library” in Preferences ->
Ruby -> Debugger it gives the error:
Specified executable rdebug-ide does not exist for ruby 1.8.6
I’ve searched for how to fix this with no luck. Does anyone here have
an idea of what I should do to get ruby-debug working with Eclipse (or
how to get the source to sync up with the current line for the std
debugger)?
E:>gem list ru
*** LOCAL GEMS ***
ruby-debug-base (0.9.3)
Fast Ruby debugger
ruby-debug-ide (0.1.8)
IDE interface for ruby-debug.
On Tue, 16 Oct 2007 04:54:45 +0900, Wayne M. wrote:
I’m using the RDT plugin for Ruby development in Eclipse on Windows. It
works fairly well, but it doesn’t move the source window to the current
breakpoint line when it hits a breakpoint in the debugger, nor does it
even put an arrow or anything on the current line, so stepping through
code is not so fun. I’ve never used Eclipse before, so I’m not sure if
there is something I can set to make that work.
Which RDT? I think the latest (which is now a part of Aptana
RadRails)
has at least some support for ruby-debug. If you’re still using 0.9.0,
who
knows…
Which RDT? I think the latest (which is now a part of Aptana
RadRails)
has at least some support for ruby-debug. If you’re still using 0.9.0,
who
knows…
Interesting. Well, I have these installed in my Eclipse and I’ve
updated:
I’m a little confused by this. So RadRails is now part of Aptana?
…and is RDT part of RadRails? Should I remove something from these
Eclipse update sites and change something else to be http://update.aptana.com/install/rails/3.2/ ???
On Tue, 16 Oct 2007 07:31:02 +0900, Wayne M. wrote:
access the RadRails plugin.
I’m a little confused by this. So RadRails is now part of Aptana?
…and is RDT part of RadRails? Should I remove something from these
Eclipse update sites and change something else to be http://update.aptana.com/install/rails/3.2/ ???
Yep. Earlier this year, the RadRails developers got full-time jobs and
ceased development. Aptana picked up RadRails development, and soon
after,
they hired Chris W., the primary RDT developer.
So radrails.sourceforge.net and updatesite.rubypeople.org are both
out-of-date. The former will never be updated again AFAIK; Chris
recently
posted a message implying that the latter might be, but meanwhile, update.aptana.com has the latest version of RadRails and RDT.
Just to confuse you further, Aptana offers three “products” right now:
The Aptana plugin, which includes Aptana’s own HTML, CSS, XML, AIR,
iPhone, and other editors and infrastructure.
The RadRails plugin, which includes both the original RadRails plugin
and the RDT plugin.
The Aptana IDE, which is simply a complete build of Eclipse with the
above two already installed.
I would uninstall all Aptana, RadRails, and RDT plugins from your
system,
then start from scratch at:
I would uninstall all Aptana, RadRails, and RDT plugins from your
system,
then start from scratch at:
OK, now we’re getting somewhere… Did the uninstall/reinstall
(although RDT can’t be uninstalled since the uninstall is grayed out,
but I just disabled it),however, I still get the source problem, but now
I do at least get a popup error message:
An internal error occurred during: “Debug Source Lookup”.
Now, it’s REALLY irritating because every time I step it pops up the
error dialog box again which I have to close. This is much worse! The
source file is in the current directory. Seems like going to a line
number should be pretty simple. Not sure what is causing this.
I now do know what caused the problem with ruby-debug since I got an
error message with this Aptana plug-in. Looks like there is one too
many /bin directories on the path to rdebug-ide. It also looks like it
has been fixed, however, an update doesn’t correct it for me:
I just created another bin directory under the current one and copied
the rdebug-ide.cmd and rdebug-ide files into it. That’s seems to have
gotten it going. Now if I can just turn off that damned popup error
message…
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.