Share via


dbgEventReason Enumeration

Specifies the reason for most debugging events.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
<GuidAttribute("4106C580-C146-11D2-8AD1-00C04F79E479")> _
Public Enumeration dbgEventReason
'Usage
Dim instance As dbgEventReason
[GuidAttribute("4106C580-C146-11D2-8AD1-00C04F79E479")]
public enum dbgEventReason
[GuidAttribute(L"4106C580-C146-11D2-8AD1-00C04F79E479")]
public enum class dbgEventReason
public enum dbgEventReason

Members

Member name Description
dbgEventReasonNone No reason.
dbgEventReasonGo Execution started.
dbgEventReasonAttachProgram Attached to program.
dbgEventReasonDetachProgram Program detached.
dbgEventReasonLaunchProgram Program launched.
dbgEventReasonEndProgram Program ended.
dbgEventReasonStopDebugging Debugging stopped.
dbgEventReasonStep Execution step.
dbgEventReasonBreakpoint Breakpoint encountered.
dbgEventReasonExceptionThrown Exception thrown.
dbgEventReasonExceptionNotHandled Unhandled exception encountered.
dbgEventReasonUserBreak Execution interrupted by user.
dbgEventReasonContextSwitch Switch in context.

Remarks

dbgEventReason is used by the Debugger object's LastBreakReason property and by the Debugger event, OnEnterBreakMode.

See Also

Reference

EnvDTE Namespace