dbgEventReason Enum

Definition

Specifies the reason for most debugging events.

public enum class dbgEventReason
public enum class dbgEventReason
enum dbgEventReason
[System.Runtime.InteropServices.Guid("4106C580-C146-11D2-8AD1-00C04F79E479")]
public enum dbgEventReason
[<System.Runtime.InteropServices.Guid("4106C580-C146-11D2-8AD1-00C04F79E479")>]
type dbgEventReason = 
Public Enum dbgEventReason
Inheritance
dbgEventReason
Attributes

Fields

Name Value Description
dbgEventReasonNone 1

No reason.

dbgEventReasonGo 2

Execution started.

dbgEventReasonAttachProgram 3

Attached to program.

dbgEventReasonDetachProgram 4

Program detached.

dbgEventReasonLaunchProgram 5

Program launched.

dbgEventReasonEndProgram 6

Program ended.

dbgEventReasonStopDebugging 7

Debugging stopped.

dbgEventReasonStep 8

Execution step.

dbgEventReasonBreakpoint 9

Breakpoint encountered.

dbgEventReasonExceptionThrown 10

Exception thrown.

dbgEventReasonExceptionNotHandled 11

Unhandled exception encountered.

dbgEventReasonUserBreak 12

Execution interrupted by user.

dbgEventReasonContextSwitch 13

Switch in context.

Remarks

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

Applies to