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
/** @attribute GuidAttribute("4106C580-C146-11D2-8AD1-00C04F79E479") */ 
public enum dbgEventReason
GuidAttribute("4106C580-C146-11D2-8AD1-00C04F79E479") 
public enum dbgEventReason

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

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

Community Additions

ADD
Show:
© 2015 Microsoft