Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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.

Community Additions

ADD
Show:
© 2015 Microsoft