Reputation: 672
Aloha guys, I have been using visual studio since 2005 and its a great piece of software but now I have the strangest case ever in history of programming.
I have upgraded my Windows to 7 and reinstalled my Visual Studio 10 recently and since then even though I explictly throw an exception in an application I dont get any kind of notification or dialog about the error.
It doesnt matter if I am in debugger mode or not, my application never crashes even when I purposly produce an exception in code.
Its the most weird behavior I have ever seen. Its impossible. Its like there is no error channel anymore.
Its like the application jumps over the statements that produce errors and executes next ones but it doesnt crash.
Is there some kind of setting for this in visual studio or somewhere else?
Does anybody have an idea what the f** is wrong with my pc?
Edit: What I mean is even when I have a simply console application with throw new Exception() inside my main the application doesnt crash.
Upvotes: 1
Views: 925
Reputation: 4362
This type of problem happens, if your project is not properly built. Try to Rebuild the application. If it doesn't solve your problem, go and delete the bin folder manually and try to rebuild the project. Also, check the exception is raising or not after enabling exceptions in Debug -> Exception -> CLRException
Upvotes: 2
Reputation: 2240
Go to Debug -> Exceptions -> and check that CLR Exceptions are entered.
Upvotes: 1