Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rubymine break when Exception thrown

In RubyMine, is there a way to break at the line that caused the exception whenever an exception is thrown. In Visual Studio this is the default behavior for many types of exceptions.

I am stuck on Rubymine version 6.3.3 as the upgrade licence expired.

like image 324
WiredIn Avatar asked Nov 10 '22 16:11

WiredIn


1 Answers

It's a bit hidden in the UI, but you can use Ruby Exception Breakpoints as explained here:

https://www.jetbrains.com/help/ruby/creating-exception-breakpoints.html

like image 159
ryanbrainard Avatar answered Nov 15 '22 06:11

ryanbrainard