Within visual studio I get an dialog saying something like
"An exception of type XXX occurred in YYY.dll but was not handled in user code"
and pausing my code. Is there a way in VS2013 of suppressing this just for this one exception type (this is for a custom exception)?
Yes, handle the exception.
Either:
ArgumentNullException or IndexOutOfRangeException);try...catch block (like internet being down causing an exception).If you want to disable messages on handled exceptions, you can set when if Visual Studio breaks on a specific exception in the Debug > Exceptions dialog. Then uncheck Thrown for your specific exception.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With