I’m trying to understand why and where an exception is thrown in my C# code. The problem is that all my code is in try-catch blocks, so debugger doesn’t stop when it happens. Is there a way to explicitly tell it to stop?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just use the Ctrl+Alt+E shortcut to bring up the exceptions dialog. There you can select any exceptions for which you’d like Visual Studio to break.