VS2013让Release程序生成pdb文件

来源:互联网 发布:中超进球数据 编辑:程序博客网 时间:2024/05/16 11:23

用VS调试Release的程序,发现无法调试。其实,并不是Release的程序不能调试,而是没有让Release的程序生成pdb文件,VS无法加载pdb文件而无法调试程序。

设置一下,让Release的程序也生成pdb文件,就好了,

http://blog.csdn.net/zengraoli/article/details/28910485
vc2012报错了:
1>c:\program files (x86)\microsoft visual studio11.0\vc\include\xutility(2176): error C4996: 'std::_Copy_impl': Function callwith parameters that may be unsafe - this call relies on the caller to checkthat the passed values are correct. To disable this warning, use-D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'CheckedIterators'
 
 
 
加入预处理器(项目属性----C/C++----预处理----预处理器定义):
_SCL_SECURE_NO_WARNINGS

0 0