Search code examples
ruby-on-railsrubydebuggingrubymine

RubyMine Stops in Library Source Code Files


I'm using RubyMine to debug a rails app I am working on. For some reason when I run my my app rubymine stops at "invisible" break points inside of library source code. For example, I hit server.rb line 92 in railties, rack/server.rb line 190 in rack, logger.rb line 315, etc.

I am using the built-in debugging gems from RubyMine. I have uninstalled the byebug gem so there shouldn't be any conflicts that I know with regards to that issue.

I am using ruby 2.1.2 and rails 4.2.1.

How do I go about fixing this problem so I am only hitting break points in my app?


Solution

  • For RubyMine 7.1.4 and debase 0.1.6 this problem occurs. The problem is solved by using debase 0.1.7. Go to the RubyMine Gem Manager update debase to 0.1.7 and the problem should be solved.

    See https://youtrack.jetbrains.com/issue/RUBY-16915 for the JetBrains issue.