Disable debugger break on `Debug.Fail` and Debug.Assert
Is it possible to disable the debugger breaking on calls to `Debug.Fail` and `Debug.Assert`? It doesn't appear to consider those exceptions, as adding a non-suspending breakpoint on `System.Diagnostics.DebugProvider+DebugAssertException` doesn't affect the behaviour.
It's incredibly frustrating being forced to stop execution dozens of times in a row due to looping/frequently hit asserts/fails .
Please sign in to leave a comment.
In Settings | Build, Execution, Deployment | Debugger, under “Exceptions” list, you can input the exception types that you want to mute them. For example, you can mute all exceptions from System.Diagnostic as below.
But the setting is not applicable for console applications. Debugger will always been paused on exceptions, that how it is designed.