When I run the debugger on an RSpec spec folder, RubyMine runs the tests but won't stop at breakpoints.
When I run the debugger on a single RSpec file, it runs the tests if there aren't any breakpoints, but if I have a breakpoint, it waits 15 seconds at the breakpoint, then fails with this output:
C:/Ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.5/lib/ruby-debug/xml_printer.rb:106: [BUG] Segmentation fault
ruby 1.8.6 (2008-08-11) [i386-mswin32]
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
I have no problems running RSpec tests without the debugger, whether it's a single example, a single file, or a folder.
I'm running Windows XP, Ruby 1.8.6, and jdk1.6.0_10.
Also, I have another question: Why do I have to set up a configuration for each script or example I want to run? Why can't I right click on a script or example and run or debug it (like in ReSharper)? Or select a subset of examples and run them?
I'm a big fan of ReSharper, and am looking forward to purchasing RubyMine, but it's not up to the level of ReSharper on running and debugging tests. I'm hoping that I'm just doing something wrong and you can make it all work the way I'm used to in other tools.
Thanks for your help.