Debugger Not Working in RubyMine with JRuby 1.1.5

I never did get the Debugger to work with IDEA + Ruby + JRuby 1.1.3 ...
http://www.intellij.net/forums/thread.jspa?threadID=277505&tstart=30

... but now I'm trying RubyMine with JRuby 1.1.5 and am currently seeing the following in a dialog box when attempting to debug.

As previously, I get the same error when trying to run the debugger from the console outside of RubyMine but am hopeful that someone can help me out.
Is there anyone out there who has successfully used Debugging with JRuby?

0
1 comment

Hi Sam,

1. I've install without problems rdebug on jruby-1.1.3:

  • ruby-debug (0.10.1)

  • ruby-debug-base (0.10.1)

  • ruby-debug-ide (0.2.1)

Please show me your gem versions from jruby-1.1.3

2. At first on jruby-1.1.5 a have the same exception as you.
My configuration is

  • ruby-debug (0.10.2)

  • ruby-debug-base (0.10.2)

  • ruby-debug-ide (0.4.0)


If you open "gems/ruby-debug-base-0.10.2-java/lib/ruby-debug-base.rb" you will see


If you replace that code with


debugger will work fine.

It seems it was a bug of ruby-debug gem.

0

Please sign in to leave a comment.