question

DeadStack avatar image
0 Votes"
DeadStack asked ·

How can i make VS stop on all exceptions.

VS often doesn't stop on exceptions, how can I force the debugger to stop on ALL exceptions?

Because a blank windows and the following output isn't helpful ...

Exception thrown: 'System.ArgumentException' in System.Private.CoreLib.dll

Exception thrown: 'System.ArgumentException' in System.Private.CoreLib.dll

Exception thrown: 'System.ArgumentException' in System.Private.CoreLib.dll

Exception thrown: 'System.ArgumentException' in System.Private.CoreLib.dll

Exception thrown: 'System.ArgumentException' in System.Private.CoreLib.dll

Exception thrown: 'System.ArgumentException' in System.Private.CoreLib.dll

windows-uwp
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

yanxiaodi avatar image
1 Vote"
yanxiaodi answered ·

You could open the exception settings and select the exceptions you want to stop on:
7993-snipaste-2020-05-12-16-23-56.png



· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you, that's really helpful.

0 Votes 0 ·