Visual Studio 2008 breaks at the following line with the following message:
I don't want it to stop there, it's making debugging a nightmare. Somehow the exception thrown at line 998 is causing t开发者_开发百科his, even though there is a try...catch block somewhere up there that is supposed to catch this exception. Any ideas on how to stop this from happening?
Well, it seems convinced there's not actually an active try block on the stack. But double-check that the Debug + Exceptions, Thrown check boxes are off. Also make sure you've got the Debug configuration selected and verify Tools + Options, Debugging, General, "Require source files to exactly match the original version" is ticked.
I hope you are using the debug build to debug your application. And did you check if you have set the /O flag, if yes then remove it. It did cause me a lot of heartburn while debugging, similarly like yours.
精彩评论