Jan 5, 2014 2:36 AM
On Ubuntu 13.04 and RubyMine 6.0.2, I am having major trouble debugging.
After a custom exception is raise (and I have an exception break set for it), I am left at the place the exception was raised in the debugger.
When I try to traverse the stack frames, it takes a few minutes trying to load the stack frame, and then I get:
Uncaught exception: failed to allocate memory
I am trying to debug a non-Rails application, and I've altered rubymine64.vmoptions because I kept running out of memory before. It is not clear to me that the above error is Java-related or Ruby-related.
I am hoping that this issue can be resolved, because the entire reason I purchased a RubyMine license is to ease my debugging with your tool. I do not wish to have to resort to debugging this complex application from command-line (like I sometimes do).
It is my hopes that RubyMine is up to the task. Please tell me what I am doing wrong here.
My system: i7, 24GB RAM, running 64-bit Ubuntu 13.10, and RubyMine running with the lastest Oracle Java installed:
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
Stack frame dump:
/home/trader/.gem/ruby/2.0.0/gems/ruby-debug-ide-0.4.22/lib/ruby-debug-ide/ide_processor.rb:41:in `block (2 levels) in process_commands'
/home/trader/.gem/ruby/2.0.0/gems/ruby-debug-ide-0.4.22/lib/ruby-debug-ide/ide_processor.rb:34:in `block in process_commands'
/home/trader/dev/ruby_projects/rubyneat/lib/rubyneat/critter.rb:130:in `block in wire!'