This documentation is archived and is not being maintained.

dbgEventReason Enumeration

Specifies the reason for most debugging events.

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

[GuidAttribute("4106C580-C146-11D2-8AD1-00C04F79E479")]
public enum dbgEventReason

Member nameDescription
dbgEventReasonNoneNo reason.
dbgEventReasonGoExecution started.
dbgEventReasonAttachProgramAttached to program.
dbgEventReasonDetachProgramProgram detached.
dbgEventReasonLaunchProgramProgram launched.
dbgEventReasonEndProgramProgram ended.
dbgEventReasonStopDebuggingDebugging stopped.
dbgEventReasonStepExecution step.
dbgEventReasonBreakpointBreakpoint encountered.
dbgEventReasonExceptionThrownException thrown.
dbgEventReasonExceptionNotHandledUnhandled exception encountered.
dbgEventReasonUserBreakExecution interrupted by user.
dbgEventReasonContextSwitchSwitch in context.

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

Show: