1) In Visual Studio, you can change the settings for how the debugger handles (interrupts) exceptions.
Go to Debug> Exceptions. (Note that this may not be on your menu depending on the setting of the Visual Studio environment. If you do not just add it to your menu in the "Customize" menu.)
There you will get a dialog with exceptions and when to break them.
In the line "General runtime exceptions", you can unselect (which should stop bothering you with exceptions from the first chance), and you can also unselect User-unhandeled (which I would not recommend) if you want.
2) The message you receive should not be in the console, but should appear in the "Exit" window of Visual Studio. If so, then I did not find a way to remove it, but it does not appear if you run the application without Visual Studio.
Hope this helps.
Alex Duggleby Sep 12 '08 at 6:06 2008-09-12 06:06
source share