VC6.0调试警告,不知如何解决,请各位高手指点!
在VC6.0里面调试的时候,有时候会出现下面这条警告:One or more breakpoints cannot be set and have been disabled. Execution will stop at the beginning of the program,原来红色的断点标识变成了空心圆,此时如果继续调试所有的断点都失效了。以下的两个方法是我百度找到的。
1、直接在菜单Build里面执行Rebuild All,一般能解决问题。
2、a.在Project菜单中选择setting,弹出设置对话框,选中c/c++页,注意Gateory选中General,将debug info设置为program databse for edit and continue ;
b.在Edit菜单中,选择Breakpoints,在弹出的对话框中点击 Remove All 按钮;
c.Build菜单,Set Active Project Configuration...,在弹出的对话框中选中 myprj.exe Win32 Debug。(注,如果本来就是Debug模式,这步可以省略)
照着以上的两个方法试过,可是问题还是没有解决,还是出现警告:One or more breakpoints cannot be set and have been disabled. Execution will stop at the beginning of the program。该怎样解决?这个问题不解决,我就没法调试程序。请高手指点!