I have a simple Windows App written in Visual Studio 2008 (.NET 3.0, C#).
Without making any change to the project, solution or Visual Studion (from what I can remember), something weird is happening: when I debug (or run) my application, when it hits an error, Visual Studio does not show me any messagebox with the error, and does not stop execution. It “looks” like nothing happened… the code after the error is not executed, but everything else continues to behave like nothing had happened.
What might be wrong?
Click Debug, Exceptions (Ctrl+D, E) and tell Visual Studio to break on all exceptions.
Note that this will break on all thrown exceptions, not just all unhandled exceptions; that may not be what you want.