Catch Exception in Application Startup (VS.Net)
Posted
by clawson
on Stack Overflow
See other posts from Stack Overflow
or by clawson
Published on 2010-03-22T11:56:01Z
Indexed on
2010/03/22
12:01 UTC
Read the original article
Hit count: 407
visual-studio-2008
|exceptions
I'm getting a System.NullReferenceException when my application starts up (after a small login screen) which doesn't crash the entire app but prevents it from loading correctly.
How can I get the VS.Net debugger to stop at the error so I can fix it?
The output I'm getting in the Immediate Window is:
A first chance exception of type 'System.NullReferenceException' occurred in GrelisCrampApp.exe
© Stack Overflow or respective owner