'Problem Occurred' running ruby-debug from Eclipse PDT

142 views
Skip to first unread message

Dave McNulla

unread,
Jan 10, 2011, 12:17:31 PM1/10/11
to Ruby Debugger
To all,

I am trying to run a ruby debugger in Eclipse. I have not run a ruby
debugger before, so I am not sure where to troubleshoot the problem. I
am using Eclipse for PHP Developers, Version: Helios Release, Build
id: 20100617-1415. I am using Ruby 1.8.6 (2007-09-24 patchlevel 111)
[i386-mswin32]).

I installed ruby-debug (v 0.10.4) and set that as the debug engine in
eclipse. I selected that as the debugger engine for ruby. I did not
know what to put in the path so I set the path to c:\ruby\bin
\rdebug.bat (my install path on Windows). The environment is set to
localhost (not sure what that entails, but it was there by default).

I hardcoded the port for the dynamic languages debugger. I did get a
connection status window, but it was never successful.

When I try to run a script in debug configuration, I get a dialog
error that says "debugger process was unexpectedly terminated". In my
console, it says: Could not redirect message, cause communication
links broken. Message: [followed by the output of my puts statements].

I've search for a few hours on how to set this up. Maybe it's not
typical. If anybody has experience setting this up on Eclipse or
NetBeans, I'd appreciate any pointers you can give.

I also submitted this question to Stack Overflow:
http://stackoverflow.com/questions/4644730/running-ruby-debugger-on-eclipse-pdt

Thanks

Dave

rocky

unread,
Jan 12, 2011, 10:56:33 PM1/12/11
to Ruby Debugger
Looks like no experts in Eclipse. I've never used myself. Since I
suspect this will require a bit of back-and-forth on this, I've
responded to this on stackoverflow. If a solution is found, we can
post the results here.

Thanks.
> I also submitted this question to Stack Overflow:http://stackoverflow.com/questions/4644730/running-ruby-debugger-on-e...
>
> Thanks
>
> Dave
Reply all
Reply to author
Forward
0 new messages