user breakpoint called from code at
来源:互联网 发布:手机版画电路图软件 编辑:程序博客网 时间:2024/05/21 07:11
在调试程序中遇到提示“user breakpoint called from code at 0x......(地址)”时,这并不一定是因没用户设置了断点的关系,而是因为系统执行了一个硬编码断点操作(hard coded breakpoint instruction)。
则Windows NT调用一个类似于DebugBreak()函数的函数,这个被调用
的函数执行一个hard coded breakpoint instruction,于是调试器捕捉到这
<script type="text/javascript"><!--google_ad_client = "pub-4403405132739389";google_ad_width = 250;google_ad_height = 250;google_ad_format = "250x250_as";google_cpa_choice = "CAEaCPE0Qicm8BvfUAU";//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>个操作产生的例外,所以中断并给出上述的提示(User breakpoint called from code at <address>)或者是给出Break caused by hard coded breakpoint instruction.,在这样的情况下,只要让调试继续进行即可(按下F5键)。
值得注意的是当程序涉及到全局性的共享内存(对象)时,如CShareFile,这些对象维护着一个全局性的内存块,如果因为程序的疏忽对仍然锁定的对象 (locked object)进行释放内存的话,则在NT下也会出现User breakpoint called from code at <address>这样的提示。
此外,在低版本的Visual C++调试器中,在不少地方(例如一些有关打印设备的操作)都用到GlobalLock,编程不当也会导致上述的提示出现,不过在win32中,很多这样的调用已经不再必要了。
希望这些信息能对您有所帮助,建议您检查一些是不是程序当中有一些涉及到释放全局性内存的操作。
- user breakpoint called from code at
- User breakpoint called from code at
- user breakpoint called from code at ....
- User breakpoint called from code at ***
- user breakpoint called from code at 0x******
- 解决“User breakpoint called from code at XXXX”Bug
- user breakpoint called from code at 0x...
- User breakpoint called from code at 0x77fa018c解释
- User breakpoint called from code at 0x7740240f 已解决
- 解决VC++“User breakpoint called from code at XXX”问题
- user breakpoint called from code at 0x...
- 不要放过User breakpoint called from code at [0x77000000]
- User breakpoint called from code at 0x********
- 解决“User breakpoint called from code at XXXX”Bug
- 不要放过User breakpoint called from code at [0x******]--
- User breakpoint called from code at 0x7c92120e
- User breakpoint called from code at 0x7c92120e
- 关于“user breakpoint called from code at..”错误
- 数据库+树形控件+视图分割——备忘
- Windows Server 2008 Beta 3 序列号申请
- ASP.NET教程第一讲 ASP.NET简介
- 曼珠沙华
- VC6.0下配置boost库使用正则表达式
- user breakpoint called from code at
- Visual C++ .NET编程:托管C++概述
- 如何隐藏命令按钮(CBA)
- “DropDownList1”有一个无效 SelectedValue,因为它不在项目列表中。
- WEB页面标签属性:ID & NAME
- 几个重要的Informix动态服务器onstat选项
- 比较C#、C++和Java最重要的功能
- 【转贴】potain的"此IoC和彼DIP"
- JavaScript的9个陷阱及评点