-
Exception Reporting
I am running my .Net application with 3.5 sp1,with IDE Visual C# Express 2008
If I run the program using Start Debugging (F5) and run into an exception my program quits back into the IDE but doesn't show me what exception I ran into or any error messages, it just simply closes out back to the IDE.
If I run my program from my Debug folder and run the same scenario as above, I do get my exception and can appropriately debug and catch.
Is this normal behavior or have I disabled something?
-
Re: Exception Reporting
If you run a Debug build under the debugger and your program crashes it should highlight the line which was being executed when the crash occurred.
-
Re: Exception Reporting
In VS's menu Tools/Options/Debugging, you can enable/disable Exception Assistant.
In VS's menu Debug/Exceptions, you can set if the exception raised should be reported on throw, or if is is unhandled. Try set on throw, because poorly used try-catch can swallow the exception.
-
Re: Exception Reporting
Thanks guys, I'll take a look into the debug exceptions menu.
As for the unknown exception. I think I have isolated it to being a call I make to a server and in the case the server never responds it hangs until timeout, if I throw another call it should queue it but in some cases its bringing my application down.