Skip to main content



      Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Debugging Ruby(Debugger takes for ever to kick off)
icon5.gif  Debugging Ruby [message #494661] Sun, 01 November 2009 20:47 Go to next message
Eclipse UserFriend
I launch debugger in Ruby eclipse.
This message appears
ruby 1.8.6 debugger listens on port 4985
but then nothing seems to be happening - ruby thread shows as having started but the application doesn't kick off.

Debug current instruction pointer is sitting on
I18n.load_path << "#{File.dirname(__FILE__)}/active_support/locale/en.yml" in active_support.rb

I try to start the debugger again and again ; suddenly after a very long time (5-10 minutes usually but can be much longer) the application starts. After that has happened a number of the dormant threads take off.

David
Confused
Re: Debugging Ruby [message #494670 is a reply to message #494661] Mon, 02 November 2009 00:53 Go to previous messageGo to next message
Eclipse UserFriend
Hi David,

Could you please check if you are using Fast ruby debugger (interacting
with the ruby-debug-base gem) or Built-in ruby debugger?

Generally, any debugger slows the application down, but ruby-debug-base
uses some native code to minimize the performance costs.
Built-in debugger works too, but it's quite slow, especially for large
applications.

Regards,
Alex


David wrote:
> I launch debugger in Ruby eclipse.
> This message appears ruby 1.8.6 debugger listens on port 4985
> but then nothing seems to be happening - ruby thread shows as having
> started but the application doesn't kick off.
>
> Debug current instruction pointer is sitting on
> I18n.load_path <<
> "#{File.dirname(__FILE__)}/active_support/locale/en.yml" in
> active_support.rb
>
> I try to start the debugger again and again ; suddenly after a very long
> time (5-10 minutes usually but can be much longer) the application
> starts. After that has happened a number of the dormant threads take off.
>
> David
> :?
Re: Debugging Ruby [message #494672 is a reply to message #494670] Mon, 02 November 2009 01:30 Go to previous messageGo to next message
Eclipse UserFriend
I have ruby-debug-0.10.3 gem installed on my computer. When I start Eclipse I get a window title 'Auto-install gems' which states that plugins have contributed local copies of the following gems for automaytic installation. I am invited to select which gems to have installed. The gems listed are

linecache
ruby_debug_ide
ruby_debug_base

I have tried to upload a screenshot of this window but cannot attach it successfully to this post.

I have selected to use both ruby_debug_ide and ruby_debug_base in my environment.

David

[Updated on: Mon, 02 November 2009 01:41] by Moderator

Re: Debugging Ruby [message #494691 is a reply to message #494672] Mon, 02 November 2009 03:38 Go to previous messageGo to next message
Eclipse UserFriend
Could you please provide more details about your installation?
I am not sure where is "Auto-install gems" window coming from.

You can send attachment to my email address if eclipse newsgroup doesn't
accept it.

Regards,
Alex


David wrote:
> I have ruby-debug-0.10.3 gem installed on my computer. When I start
> Eclipse I get a window title 'Auto-install gems' which states that
> plugins have contributed local copies of the following gems for
> automaytic installation. I am invited to select which gems to have
> installed. The gems listed (see attached jpg) are
> linecache
> ruby_debug_ide
> ruby_debug_base
>
> Should I be ignoring ruby_debug_ide and selecting ruby_debug_base?
>
> David
Re: Debugging Ruby [message #494981 is a reply to message #494691] Tue, 03 November 2009 07:59 Go to previous messageGo to next message
Eclipse UserFriend
Hi David,

It's not DLTK window, I suppose it's coming from Aptana RadRails.

Regards,
Alex

Alex Panchenko wrote:
> Could you please provide more details about your installation?
> I am not sure where is "Auto-install gems" window coming from.
>
> You can send attachment to my email address if eclipse newsgroup doesn't
> accept it.
>
> Regards,
> Alex
>
>
> David wrote:
>> I have ruby-debug-0.10.3 gem installed on my computer. When I start
>> Eclipse I get a window title 'Auto-install gems' which states that
>> plugins have contributed local copies of the following gems for
>> automaytic installation. I am invited to select which gems to have
>> installed. The gems listed (see attached jpg) are
>> linecache
>> ruby_debug_ide
>> ruby_debug_base
>>
>> Should I be ignoring ruby_debug_ide and selecting ruby_debug_base?
>>
>> David
Re: Debugging Ruby [message #495193 is a reply to message #494981] Wed, 04 November 2009 01:17 Go to previous messageGo to next message
Eclipse UserFriend
Sad

So is my question in the wrong forum?
Not sure where to go with this problem...

David
Re: Debugging Ruby [message #496216 is a reply to message #495193] Mon, 09 November 2009 06:39 Go to previous messageGo to next message
Eclipse UserFriend
Hi David,

I think you can start at http://www.aptana.com/support

Regards,
Alex

David wrote:
> :(
> So is my question in the wrong forum?
> Not sure where to go with this problem...
>
> David
Re: Debugging Ruby [message #496419 is a reply to message #496216] Mon, 09 November 2009 19:01 Go to previous message
Eclipse UserFriend
Maybe I need a little history lesson but it would appear that RDT fell into the hands of Aptana while in the meantime DLTK for Ruby emerged and gained prominence.

Would most Ruby developers using Eclipse have gone the DLTK path?

I have read some postings proclaiming that RDT was painful and developers had dumped it in favour of DLTK.

Smile

[Updated on: Mon, 09 November 2009 19:01] by Moderator

Previous Topic:Editing Remote files
Next Topic:Remote Debugging
Goto Forum:
  


Current Time: Mon Jul 07 06:56:24 EDT 2025

Powered by FUDForum. Page generated in 0.04148 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top