Share via


dbgEventReason2 枚举

指定大多数调试事件的原因。

命名空间:  EnvDTE80
程序集:  EnvDTE80(在 EnvDTE80.dll 中)

语法

声明
<GuidAttribute("ECD94EEC-EBF9-45B2-B072-1624241C7C0B")> _
Public Enumeration dbgEventReason2
[GuidAttribute("ECD94EEC-EBF9-45B2-B072-1624241C7C0B")]
public enum dbgEventReason2
[GuidAttribute(L"ECD94EEC-EBF9-45B2-B072-1624241C7C0B")]
public enum class dbgEventReason2
[<GuidAttribute("ECD94EEC-EBF9-45B2-B072-1624241C7C0B")>]
type dbgEventReason2
public enum dbgEventReason2

成员

成员名称 说明
dbgEventReason2AttachProgram 程序已附加。
dbgEventReason2Breakpoint 命中了断点。
dbgEventReason2ContextSwitch 用户切换了堆栈帧、线程或进程。
dbgEventReason2DetachProgram 程序已分离。
dbgEventReason2EndProgram 结束程序。
dbgEventReason2Evaluation 发生了计算操作。
dbgEventReason2ExceptionNotHandled 某个异常未处理。
dbgEventReason2ExceptionThrown 引发了异常。
dbgEventReason2Go 调试已继续。
dbgEventReason2LaunchProgram 程序已启动。
dbgEventReason2None 已否决。未在使用。
dbgEventReason2Step 进入调试器已发生。
dbgEventReason2StopDebugging 正在调试的进程已终止或分离。
dbgEventReason2UnwindFromException 发生异常后,状态已重置为引发异常之前的状态。
dbgEventReason2UserBreak 用户命中了断点。

备注

Debugger 对象的 LastBreakReason 属性和 Debugger 事件 OnEnterBreakMode 使用。

请参阅

参考

EnvDTE80 命名空间