Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2013 doesn't stop on a code line at error

In the previous versions of VS, if I have an error in my code and there was no exception handling - in debug mode - the debugger stops on the faulty code line, e.g. in case of an ArgumentOutOfRangeException.

But now the debugger only stops in the app.g.i.cs file where I have an UnhandledException handler.

What should I set to get back the old behaviour?

like image 718
Developer Joe Avatar asked May 11 '26 17:05

Developer Joe


1 Answers

control, alt + E to bring up exceptions, then check Common Language Runtime Exceptions thrown column. This will then break where the exception occurs rather than where it's handled.

like image 138
NDJ Avatar answered May 14 '26 09:05

NDJ



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!