vs2005下其中一个项目死活不能断点,其他项目没有关问题,项目编码cp936和unicode都试过,换行应该是\r\n

vs2005下其中一个项目死活不能断点,其他项目没问题,项目编码cp936和unicode都试过,换行应该是\r\n
为什么呢?

郁闷了。

写的是directsound。

入口直接用了int mian();

------解决方案--------------------
1.在工程属性->Configuration Properties->Linker->Debugging->Generate Debug Info设为Yes.
2.在工程属性->Configuration Properties->C/C++->General->Debug Information Format设为Program Database
3.在工具->Option->Debugging->Require source files to exactly match the original version去掉.