Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2008 debugger not catching exceptions

I'm working in a new VS2008 installation with an ASP.NET web application project, and for some reason it's not catching exceptions at all. Where I used to get the helpful little green popup in the IDE notifying me of an unhandled exceptions and allowing me to examine the values of local variables etc., it now goes straight to the Yellow Screen of Death.

Debugging is working otherwise - for example I can set a breakpoint and it works normally.

I'm sure there's just an incorrect setting somewhere in Visual Studio - any thoughts?

like image 983
Herb Caudill Avatar asked Dec 05 '25 06:12

Herb Caudill


2 Answers

On the debug menu -> exceptions

You can pick which exceptions to catch or not.. is this what you meant?

like image 64
meandmycode Avatar answered Dec 07 '25 22:12

meandmycode


It may be possible that all of your exceptions are being handled and therefore would not get thrown in the IDE (unless you explicitly say you want to break on handled exceptions using the Debug->Exceptions menu)

like image 22
TheTXI Avatar answered Dec 07 '25 22:12

TheTXI



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!