关于vc调试出现One or more breakpoints cannot be set and have been disabled解决方法

来源:互联网 发布:ios 数组相同元素合并 编辑:程序博客网 时间:2024/05/16 18:08

现象是用 debug中的 step info或者run to cursor合着设置断点会出现One or more breakpoints cannot be set and have been disabled.   Execution will stop at the beginning of the program.解决方法,

1.在project->setting->c/c++-general->debug info->program databse for edit and continue ;

2.edit->breakpoints->removeall;

3.build->set active project configuration->*.exe win32 debug.

经过以上三步,ok!