Exception Handling Functions for Debugging

原文链接:http://msdn.microsoft.com/en-us/library/windows/desktop/ms679330%28v=vs.85%29.aspx

本文链接:http://blog.csdn.net/wlsgzl/article/details/18629009

When an exception occurs in a process that is being debugged, the system notifies the debugger by passing the exception to it.当被调试进程发生异常时,系统通过传递异常来通知调试器。 This is known as first-chance notification.这就是所谓的首次机会通知。 The system then suspends all threads in the process being debugged.系统然后挂起被调试进程的所有线程。

If the debugger does not handle the exception, the system attempts to locate an appropriate exception handler.如果调试器没有处理这个异常,系统尝试定位一个合适的异常处理器。 If the system cannot locate an appropriate one, the system again notifies the debugger that an exception has occurred. 如果系统没有定位到一个合适的异常处理器,系统会再次通知调试器已经发生了一个异常。This is known as last-chance notification.这就是所谓的末次机会通知。 If the debugger does not handle the exception after the last-chance notification, the system terminates the process being debugged.如果调试器没有在末次机会通知后处理这个异常,系统会终止被调试的进程。

For more information, see Debugger Exception Handling.更多的信息参见Debugger Exception Handling。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值