vs2008 怎么在Release下调试代码
(适用VS2005/VS2008)
在当前工程点击右键选择properties,选择 All Configurations
- C++>General->Debug Information Format->Program Database (/Zi)
- C++>Optimization->Optimization->Disabled (/Od)
- Linker->Debugging->Generate Debug Info->Yes (/DEBUG)
- Linker->Debugging->Generate Program Database File->$(TargetDir)$(TargetName).pdb