Project Rider - exception break

I cannot find an option in JetBrains Project Rider for "Break on Exception". Wherever I usually add an exception checkpoint in IntelliJ, I see the following:

enter image description here

+6
source share
2 answers

Interruption of specific exceptions has not yet been implemented. Now the rider can break only on unhandled exceptions. Coming soon.

+3
source

There are two ways to do this.

Break in all exceptions

Go to Run | View breakpoints .... Click the green + . Select Stop in all .NET exceptions.

enter image description here

Then you can change the breakpoint:

enter image description here


Break a specific exception

Or use:

  • Run | Stop exception ...
  • Run | View breakpoints .... Click the green + . Select .NET Exception Checkpoints.

Any approach will give you the following interface where you can look for the type of exception:

enter image description here

To manage your settings, use the Breakpoints dialog.

+8
source

All Articles