|
|
Re: Using Ruby Debugger [message #526397 is a reply to message #507911] |
Sat, 10 April 2010 10:41 |
Christian H Messages: 2 Registered: April 2010 |
Junior Member |
|
|
Hi there,
that works perfectly fine for Ruby 1.8.x, but since i'm using Ruby 1.9.1, i can't even install the "ruby-debug" gem, because it tells me "can't handle 1.9.x" yet.
So I tried with "ruby-debug19" (and ruby-debug-base19 etc). Soon I figured that DLTK isn't looking in the .../gems/1.9.1/gems/ folder for the plugin (gabe me the error that "ruby-debug" wasn't installed), so I edited the source of org.eclipse.dltk.ruby.fastdebugger to do so, saw that there were some problems with ruby 1.8.x style case-expressions in org.eclipse.dltk.ruby.abstractdebugger and fixed them also.
Now I don't get the "can't find ruby-debug" error anymore, but instead after a while hanging at 92 % org.eclipse.dltk.launcher throws an exception that initalizing the debugger was taking too long and thus terminated the whole thing.
I figured that I am using the R2.0 dev version of DLTK, since that may cause the problem, I will try the R1.0 Stable Release. Is there anything else I could do to get this up and running in case that's not the solution?
kind regards,
christian
|
|
|
Re: Using Ruby Debugger [message #529122 is a reply to message #526397] |
Fri, 23 April 2010 06:44 |
Alex Panchenko Messages: 342 Registered: July 2009 |
Senior Member |
|
|
Hi Christian,
I think that code was not tested with ruby 1.9.
It seems that installation paths could be OS specific, so you can just
disable the check of ruby-debug gem - there is a checkbox in Preferences
- Ruby - Debug - Engines - Fast Ruby Debugger.
Anyway it's better to work with DLTK 2.0 as this is the version under
development now.
I'll try to test it with ruby 1.9. If you've found what should be
changed in DLTK could you please share your findings?
Regards,
Alex
On 10/04/10 17:41, Christian H wrote:
> Hi there,
>
> that works perfectly fine for Ruby 1.8.x, but since i'm using Ruby
> 1.9.1, i can't even install the "ruby-debug" gem, because it tells me
> "can't handle 1.9.x" yet.
>
> So I tried with "ruby-debug19" (and ruby-debug-base19 etc). Soon I
> figured that DLTK isn't looking in the .../gems/1.9.1/gems/ folder for
> the plugin (gabe me the error that "ruby-debug" wasn't installed), so I
> edited the source of org.eclipse.dltk.ruby.fastdebugger to do so, saw
> that there were some problems with ruby 1.8.x style case-expressions in
> org.eclipse.dltk.ruby.abstractdebugger and fixed them also.
>
> Now I don't get the "can't find ruby-debug" error anymore, but instead
> after a while hanging at 92 % org.eclipse.dltk.launcher throws an
> exception that initalizing the debugger was taking too long and thus
> terminated the whole thing.
>
> I figured that I am using the R2.0 dev version of DLTK, since that may
> cause the problem, I will try the R1.0 Stable Release. Is there anything
> else I could do to get this up and running in case that's not the solution?
>
> kind regards,
> christian
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03787 seconds