# Debug in Eclipse RDT

**URL:** <https://rubytalk.org/t/debug-in-eclipse-rdt/17093>\
**Category:** ruby-talk\
**Created:** [22 March 2005 01:54 UTC](https://rubytalk.org/t/debug-in-eclipse-rdt/17093 "2005-03-22T01:54:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wandering\_Mango](https://avatars.discourse-cdn.com/v4/letter/w/d9b06d/32.png) [@Wandering\_Mango](https://rubytalk.org/u/Wandering_Mango)\
**Post date:** [22 March 2005 01:54 UTC](https://rubytalk.org/t/debug-in-eclipse-rdt/17093/1 "2005-03-22T01:54:51Z")

</div>

It looks to me as if the plugin for Eclipse is the most useable Ruby  
IDE; but I'm having a problem getting the debugger working. The  
program runs from Eclipse and gives output without a problem. But  
debug results in the following:

Under the Console window: ruby 1.8.2 debugger listens on port 1098

Under the Debug window: \<terminated, exit value: 15\> ...

Under the Event details window - Message: Ruby process terminated  
because no connection to the debugger could me (sic.) made

Under the Event details window - Exception stack trace: An exception  
stack trace could not be found.

Under the Event details window - Session details:  
eclipse.buildId=M200409161125  
java.version=1.4.2\_05  
java.vendor=Apple Computer, Inc.  
BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=en\_US  
Command-line arguments: -keyring /Users/blah/.eclipse\_keyring  
-showlocation

I never get to the point where I can step through the program. Any  
help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Travis\_Smith](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@Travis\_Smith](https://rubytalk.org/u/Travis_Smith)\
**Post date:** [22 March 2005 02:28 UTC](https://rubytalk.org/t/debug-in-eclipse-rdt/17093/2 "2005-03-22T02:28:23Z")

</div>

Not that this is terribly helpful, but I found the Eclipse plugin  
lacking most of the useful features of Eclipse so I went back to vi.  
Do we have a class browser? Refactoring tools? The source code  
wouldn't auto indent (but I admit I didn't play with it long enough to  
see if this was the plugin or just a setting I needed to tweak). Do we  
get code completion?

I also didn't get the debugger working on Mac OS X. I never tried on  
my PC. Like I said though I got frustrated and went back to vi. 🙂

I hope you get it figured out!

> **···**
>
> On Tue, 22 Mar 2005 10:54:51 +0900, Wandering Mango \<dropbox@whoever.com\> wrote:
> 
> > It looks to me as if the plugin for Eclipse is the most useable Ruby  
> > IDE; but I'm having a problem getting the debugger working. The  
> > program runs from Eclipse and gives output without a problem. But  
> > debug results in the following:
> > 
> > Under the Console window: ruby 1.8.2 debugger listens on port 1098
> > 
> > Under the Debug window: \<terminated, exit value: 15\> ...
> > 
> > Under the Event details window - Message: Ruby process terminated  
> > because no connection to the debugger could me (sic.) made
> > 
> > Under the Event details window - Exception stack trace: An exception  
> > stack trace could not be found.
> > 
> > Under the Event details window - Session details:  
> > eclipse.buildId=M200409161125  
> > java.version=1.4.2\_05  
> > java.vendor=Apple Computer, Inc.  
> > BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=en\_US  
> > Command-line arguments: -keyring /Users/blah/.eclipse\_keyring  
> > -showlocation
> > 
> > I never get to the point where I can step through the program. Any  
> > help would be greatly appreciated.
> 
> --  
> ~Travis

---

<div class="post-metadata">

**Author:** ![Yogi](https://avatars.discourse-cdn.com/v4/letter/y/46a35a/32.png) [@Yogi](https://rubytalk.org/u/Yogi)\
**Post date:** [22 March 2005 05:04 UTC](https://rubytalk.org/t/debug-in-eclipse-rdt/17093/3 "2005-03-22T05:04:27Z")

</div>

The debugger seems to sort of work on my machine... it seg faults if I  
have the "variables" view open, but seems to work fine if the view is  
not visible

I'm using gentoo:  
2.6.10-gentoo-r6  
ruby 1.8.2 (2004-12-25) [i686-linux]  
eclipse-sdk-3.0.1-r2

> **···**
>
> --  
> - Yogi  
> Developer, [www.thoughtworks.com](http://www.thoughtworks.com)

---

<div class="post-metadata">

**Author:** ![Richard\_Dale](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Richard\_Dale](https://rubytalk.org/u/Richard_Dale)\
**Post date:** [22 March 2005 14:24 UTC](https://rubytalk.org/t/debug-in-eclipse-rdt/17093/4 "2005-03-22T14:24:51Z")

</div>

Travis Smith wrote:

> Not that this is terribly helpful, but I found the Eclipse plugin  
> lacking most of the useful features of Eclipse so I went back to vi.  
> Do we have a class browser? Refactoring tools? The source code  
> wouldn't auto indent (but I admit I didn't play with it long enough to  
> see if this was the plugin or just a setting I needed to tweak). Do we  
> get code completion?
> 
> I also didn't get the debugger working on Mac OS X. I never tried on  
> my PC. Like I said though I got frustrated and went back to vi. 🙂

Have you tried KDevelop 3.2 which has just been released as part of KDE 3.4?  
It has a ruby source code debugger, class browser, integrated UI builder  
and so on.

It probably isn't very easy to get working on Mac OS X though, I use it on  
an iMac running Yellow Dog 4.0 Linux.

-- Richard

---

<div class="post-metadata">

**Author:** ![Travis\_Smith](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@Travis\_Smith](https://rubytalk.org/u/Travis_Smith)\
**Post date:** [22 March 2005 16:54 UTC](https://rubytalk.org/t/debug-in-eclipse-rdt/17093/5 "2005-03-22T16:54:25Z")

</div>

I'll see what version fink has. I try not to build too much myself on  
this system, though I'm not sure I have a good reason for it. My  
debian system is a mess, maybe that's why. I installed the base  
pakages, but built just about everything else from source because  
debian's stable deb's are two years old (okay, maybe not two years,  
but I like using and playing with new technologies).

Maybe I can find precompiled if fink doesn't have it...

Either way I'll try and check it out. X11 stuff is a bit slow compared  
to Aqua, doesn't have built in spell checking (not that I use it on  
code, but I most likely should...), and all around just isn't as  
pretty.

Thanks,

> **···**
>
> On Tue, 22 Mar 2005 23:24:51 +0900, Richard Dale \<Richard\_Dale@tipitina.demon.co.uk\> wrote:
> 
> > Have you tried KDevelop 3.2 which has just been released as part of KDE 3.4?  
> > It has a ruby source code debugger, class browser, integrated UI builder  
> > and so on.
> > 
> > It probably isn't very easy to get working on Mac OS X though, I use it on  
> > an iMac running Yellow Dog 4.0 Linux.
> > 
> > -- Richard
> 
> --  
> ~Travis
