什么是单步例外? [英] What is a single step exception?

查看:134
本文介绍了什么是单步例外?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是单步例外?在堆栈跟踪的背景和一个破发点?

What is a single step exception? In the context of a stack trace and a break point?

干杯,
Ĵ

推荐答案

这通常异常是一个陷阱(一种例外,这本身就是一种中断)由CPU的提高。

This exception usually is a trap (a kind of exception, which itself is a kind of interrupt) that is raised by the CPU.

一个常见的​​调试情况是:

A common debugging scenario is:


  1. 断点被击中

  2. 用户要求的调试器足下究竟code的一行

  3. 执行code的行

  4. CPU提出了单步执行(例外code 1)

  5. 调试器捕获单步异常(通常很好地突出显示下一行,并更新变量表处理这个问题)

然而,这种异常也可以在其它情况下提出的。您可以参考 http://support.microsoft.com/kb/117389 为出发点

However, this exception can also be raised in other cases. You can refer to http://support.microsoft.com/kb/117389 as a starting point.

这篇关于什么是单步例外?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆