现在的位置: 首页 > 综合 > 正文

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

2019年10月13日 ⁄ 综合 ⁄ 共 333字 ⁄ 字号 评论关闭

我在直接用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就行了

抱歉!评论已关闭.