vc不能debug,提示One or morebreakpoints cannot be set and have been disabled。。。。。
来源:互联网 发布:联合国贸易数据库内容 编辑:程序博客网 时间:2024/06/06 18:41
vc调试时出现错误,提示One or morebreakpoints cannot be set and have been disabled。Execution will stopat the beginning of the program如下图:
解决方法:
build->set active project configuration->选择xxxx win32 debug项
转:
一、两种调试方式:
1、Debug模式:
2、Release模式:
单击菜单[Project]->[Settings…],出现"Project Settings"对话框,选择“Release”状态;
将C/C++标签中的Category选择General,Optimizations选Disable (Debug),Debug info选Program Database;
在Link标签中选中Generate debug info复选框。
注:Release模式稍好点,因为某些情况程序只能在Release下运行,如“显示对话框的DLL”在Debug下显示出窗口后就死在那里。
二、调试中可能的错误:“不能调试”、“断点错误”。
1、“不能调试”:
“One or more breakpoints cannot be set and have been disabled. Execution will stop at the beginning of the program.”
2、“断点错误”:
"One or more breakpoints are not positioned on valid lines.These breakpoints have been moved to the next valid line."
注意:“不能调试”跟“断点错误”不是一回事,“断点错误”会禁用某些错误断点,但“不能调试”则会禁用所有断点。
三、解决方法
1、对于“断点错误”,VC会自动帮我们定位到一行,我们不用理会!
2、对于“不能调试”,解决步骤如下:
1)、重起电脑
2)、把工程拷贝到新目录,删除ncb, .opt,.plg文件。 注意是拷贝,不是剪切。
3)、再菜单栏(menu):Build->Rebuild All。
- vc不能debug,提示One or morebreakpoints cannot be set and have been disabled。。。。。
- vc调试出现One or morebreakpoints cannot be set and have been disabled
- one or morebreakpoints cannot be set and have been disabled解决方案
- VC6.0 debug下断点调试 提示“One or more breakpoints cannot be set and have been disabled...”
- 关于vc调试出现One or more breakpoints cannot be set and have been disabled解决方法。
- 关于vc调试出现One or more breakpoints cannot be set and have been disabled解决方法
- 于vc调试出现One or more breakpoints cannot be set and have been disabled
- (zz)(VC 6++) One or more breakpoints cannot be set and have been disabled
- 关于vc调试出现One or more breakpoints cannot be set and have been disabled解决方法
- 关于vc调试出现One or more breakpoints cannot be set and have been disabled
- 关于vc调试出现One or more breakpoints cannot be set and have been disabled解决方法
- 关于vc调试出现One or more breakpoints cannot be set and have been disabled
- VC++6.0调试出错 One or more breakpoints cannot be set and have been disabled...
- Debug error:"One or more breakpoints cannot be set and have been disabled.Execution will stop at the
- 烦人的 One or more breakpoints cannot be set and have been disabled.……
- One or more breakpoints cannot be set and have been disabled
- One or more breakpoints cannot be set and have been disabled...
- 解决“One or more breakpoints cannot be set and have been disabled.…… ”
- ROW_NUMBER、RANK、DENSE_RANK的用法-2
- 网址列表
- wxggg
- WinCE6.0增加中文字库
- 告诉我自己
- vc不能debug,提示One or morebreakpoints cannot be set and have been disabled。。。。。
- 公开密钥密码体系
- FCKeditor在PHP+SMARTY中的使用
- C#利用Web Service实现短信发送
- log4j配置详解
- java抽象工厂模式
- Oracle中Decode()函数使用技巧(借来看看)
- 注意种植牙的七大误区
- ArrayCollection删除里边的数据,这种比较好用!