Any ideas how can I debug my unit tests in IDEA 10? It executes the following command: "c:\applications\jetbrains\intellij idea 10.0\jre\jre\bin\java.exe" -Xverify:none -da -Xmx500m -Xss1024k -cp C:\Java\jruby-1.6.1\lib\jruby.jar -Djruby.base=C:\Java\jruby-1.6.1 -Djruby.home=C:\Java\jruby-1.6.1 -Djruby.lib=C:\Java\jruby-1.6.1\lib -Djruby.shell="cmd.exe" -Djruby.script=jruby.bat -Djruby.reflection=true -Djruby.compile.mode=OFF -Djruby.debug.fullTrace=true org.jruby.Main -X+O --debug -S C:/Java/jruby-1.6.1/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.17.beta3/bin/rdebug-ide --port 64445 -- C:/Projects/iris/trunk/shared/plugins/firetimes_model/test/models/time_entry_test.rb -n test_find_automatic_chargecode_with_automatic_chargecode Fast Debugger (ruby-debug-ide 0.4.17.beta3, ruby-debug-base 0.10.3.2) listens on 127.0.0.1:64445 but then cannot connect to the process: -Disconnected Has anybody had any luck debugging JRuby from IDEA? Cheers, Behrang Saeedzadeh http://www.behrang.org
on 2011-04-28 01:47
on 2013-03-15 18:54
Not sure if it is because you are using ruby plugin for IntelliJ, but the debugger just works fine inside Rubymine with JRuby. For a while, with latest JRuby, I remember I needed to disable Debugger gem in gem file, but I this wont be necessary in the latest RM. From: Ivan Balashov <lists@ruby-forum.com> To: user@jruby.codehaus.org Sent: Friday, March 15, 2013 9:33 AM Subject: [jruby-user] Re: Can't debug scripts from IntelliJ Anyone? -- Posted via http://www.ruby-forum.com/.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.