Answer the question
In order to leave comments, you need to log in
Why is the breakpoint not working in debuger in RubyMine?
In RubyMine, I put breakpoints in the controller file, I start debugging the controller, but there is no stop on the breakpoints. In rubymine console writes:
/home/jorg/.rvm/rubies/ruby-2.3.1/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load( $0=ARGV.shift) /home/jorg/.rvm/gems/ruby-2.3.1/gems/ruby-debug-ide-0.6.1.beta4/bin/rdebug-ide --disable-int-handler -- evaluation-timeout 10 --rubymine-protocol-extensions --port 43478 --host 0.0.0.0 --dispatcher-port 39783 -- /home/jorg/inv/app/controllers/home_controller.rb
Fast Debugger (ruby-debug- ide 0.6.1.beta4, debase 0.2.2.beta10, file filtering is supported) listens on 0.0.0.0:43478
Uncaught exception: uninitialized constant ApplicationController
/home/jorg/inv/app/controllers/home_controller.rb:1:in `'
Process finished with exit code 0
I can't understand the reason. Help please!
Answer the question
In order to leave comments, you need to log in
I'm not an expert in debugging Ruby applications, but you've clearly been told that an unhandled exception has been thrown somewhere. Those. debugging ended urgently and the debugger did not reach your breakpoints.
Put a hack on throwing an exception (google how to do it in your IDE) and see why it happens. Or read more about debugging applications on RoR.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question