EAP RM-96-1146 rvm debugging problem
My first attempt at debugging and I'm stuck. Am I not configred properly? Do I need lessons on RubyMine?
Thanks for your attention.
On Ubuntu 10.04
$ rvm list
=> ruby-1.9.2-p0 [ i386 ]
ree-1.8.7-2010.02 [ i386 ]
ruby-1.8.7-p302 [ i386 ]
$ rvm gemset name
collection01
========================== Terminal output
/home/craig/.rvm/rubies/ruby-1.9.2-p0/bin/ruby -r /opt/RubyMine-96.1146/rb/gems/rdebug-hack.rb -e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift) /home/craig/.rvm/gems/ruby-1.9.2-p0@collection01/bin/rdebug-ide --port 47437 -- /home/craig/dev/NJR_Jumpstart/Sinatra/music_collection_01/test.rb
Fast Debugger (ruby-debug-ide 0.4.9) listens on :47437
Process finished with exit code 1
========================== Screenshot of source file with breakpoint set.
请先登录再写评论。
Hello Craig,
Most likely you are experiencing the problem described here: http://youtrack.jetbrains.net/issue/RUBY-6743
I mean that for debugging ruby1.9 RubyMine should use ruby-debug-ide19 instead of ruby-debug-ide gem. We are investigating the problem.
Regards,
Oleg
Thanks. I switched to ruby-1.8.7-p302 and it picked up ruby-debug-base and ruby-debug-ide and debugging is working.