How do I enable Visual Studio 2010 to break when a first chance exception happens?

You may want to check the Debug menu in Visual Studio 2010. In there you will find the Exception submenu, in where you can select which type of exception you want Visual Studio to stop. Setting the debugger to break when an exception is thrown The debugger can break execution at the point where an exception is … Read more