Life is Good.

Enhance Tech and English
随笔 - 65, 文章 - 20, 评论 - 21, 引用 - 0
数据加载中……

Release 下调试代码设置 (VS2005/2008)

Release 下想调试代码只需要修改一下设置:
  1. 右键当前工程, 选择properties
  2. 选择 All Configurations
  3. C++>General->Debug Information Format->Program Database (/Zi)
  4. C++>Optimization->Optimization->Disabled (/Od)
  5. Linker->Debugging->Generate Debug Info->Yes (/DEBUG)
  6. Linker->Debugging->Generate Program Database File->$(TargetDir)$(TargetName).pdb (default path)
保存下就OK 了.


posted on 2008-10-07 12:13 Mike Song 阅读(1794) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理