One or more breakpoints cannot be set and have been disable.Execution will stop at the begining of the programe

来源:互联网 发布:c语言中绝对值怎么表示 编辑:程序博客网 时间:2024/05/05 18:17

我在直接用MFC向导出一个程序,调试时,断点放在APPMODU.CPP里可以,但放在WINMAIL.CPP中就出现这种提示。断点会变成空心的。网上搜的解决方法如下:

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

edit->breakpoints->removeall;

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

事实上没有效果,删除掉所有的断点后重来。又搜到如下解决方法:

Project->Microsoft Foundation Classes:Use MFC in a Static Library就行了

原创粉丝点击