Search code examples
debuggingidejetbrains-iderider

JetBrains Rider - How to exclude a certain type of exception from break points


I am new to JetBrains Rider and find it extremely handy for C# developing. Just in our solution we have a certain type of exception that is thrown frequently. When I debug I don't want it to break on this type of exception while I do want it to break on all other exceptions thrown. It can be easily achieved by Visual Studio.

I found a post here Project Rider - Break on Exception It told me how to break on a certain type of Exception. But still no clue how to break on all Exceptions except this certain type.


Solution

  • You can add exception breakpoint for all types and then add exception breakpoint for your certain type with unchecked 'Suspend' option