Rubymine 1.x debugger problem (possible solution)

Hello

Here is a possible solution with ruby debugger.
The symptoms are: IDE try to connect to debugger, wait 10 seconds and breaks.
The environment is:

  • Ubuntu 9.04
  • ruby 1.8.6 (2009-06-08 patchlevel 369) [i686-linux] (compiled from sources)
  • Rails 2.2.2


Debug gems is:

  • Latest ruby-debug-base 0.10.x
  • Latest ruby-debug-ide 0.4.6


Looks, that something is broken in this gems. Inspiried by solution from NetBeans

you may try old gems:

    ruby-debug-base (0.10.0)
    ruby-debug-ide (0.1.10)

It works fine with RubyMine.

3 comments
Comment actions Permalink

On my mac with ruby 1.8.6 following configuration works:
* ruby-debug (0.10.3)
* ruby-debug-base (0.10.3)
* ruby-debug-ide (0.4.6 or 0.4.5)

0
Comment actions Permalink

Hello Arthur,

Here is a possible solution with ruby debugger.
The symptoms are: IDE try to connect to debugger, wait 10 seconds and breaks.
The environment is:

  • Ubuntu 9.04
  • ruby 1.8.6 (2009-06-08 patchlevel 369) [i686-linux] (compiled from sources)
  • Rails 2.2.2


Debug gems is:

  • Latest ruby-debug-base 0.10.x
  • Latest ruby-debug-ide 0.4.6


Looks, that something is broken in this gems. Inspiried by solution from NetBeans


you may try old gems:


    ruby-debug-base (0.10.0)
    ruby-debug-ide (0.1.10)


It works fine with RubyMine.

What was the original problem? I can run debugger easily on
Ubuntu 9.04 64bit
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] - latest available package for Ubuntu Jaunty,
ruby-debug-ide 0.4.6
ruby-debug-base 0.10.3

Could you please add this line to file {RubyMine10}/bin/idea.properties
idea.is.internal=true

and then try to debug, debugger should print its own output to console.

Regards,
Oleg

0
Comment actions Permalink

Hi Arthur,

Regressing to the old gems:

    ruby-debug-base (0.10.0)
    ruby-debug-ide (0.1.10)

also worked for me on Ubuntu 9.0.4 (64bit) + IDEA 8.1.3.

Thanks for the post this was driving me nuts.

Cheers

Paul

0

Please sign in to leave a comment.