VS2010断点无效

可能的原因如下:

1. 菜单tools->Options->Debugging->General,有个Require  source files to exactly match the original version的选项取消;

 

2. 菜单tools->Options->Debugging->Symbols,然后在Symbol file(.pdb)locations中添加你要调试dll或者程序的pdb文件;

 

3. C/C++-->General-->Debug Information Format选择为 Program Database (Zi); 

    C/C++-->Optimization 选择为Maximize Speed(/O2)

posted @ 2015-05-04 14:32  奥雷连诺  阅读(293)  评论(0编辑  收藏  举报