posts - 24,  comments - 0,  trackbacks - 0
自从去年9月开始,c++博客便荒废了!时光荏苒,大半年了!
希望重新顶起吧。
一直困难的一个问题,没成想很弱智。
问题如下:I have a complex program which runs fine in Debug mode in Visual Studio 2008.
When I run it in Release mode, it crashes immediately with "Debug assertion failed in Visual Studio 9.0\VC\include\vector Line 70".
Is there any way I can run the program inside Visual Studio 2008 so I can see stack trace?
Any other tips on this issue?

There are no debug assertions in a release build. 
Maybe you are accidentally using a DLL or library that is built in debug mode.  All linked modules must be release builds, or all debug builds.  You can't mix the two types.
汗颜!
posted on 2013-05-13 14:25 qiushao 阅读(165) 评论(0)  编辑 收藏 引用