Quantcast
Channel: C++博客-所有随笔
Viewing all articles
Browse latest Browse all 7881

新起点

$
0
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.
汗颜!

qiushao 2013-05-13 14:25 发表评论

Viewing all articles
Browse latest Browse all 7881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>