共用方式為


dbgEventReason2 Enum

Definition

Specifies the reason for most debugging events.

public enum class dbgEventReason2
public enum class dbgEventReason2
enum dbgEventReason2
[System.Runtime.InteropServices.Guid("ECD94EEC-EBF9-45B2-B072-1624241C7C0B")]
public enum dbgEventReason2
[<System.Runtime.InteropServices.Guid("ECD94EEC-EBF9-45B2-B072-1624241C7C0B")>]
type dbgEventReason2 = 
Public Enum dbgEventReason2
Inheritance
dbgEventReason2
Attributes

Fields

Name Value Description
dbgEventReason2None 1

Deprecated. Not in use.

dbgEventReason2Go 2

Debugging continued.

dbgEventReason2AttachProgram 3

Program was attached.

dbgEventReason2DetachProgram 4

Program was detached.

dbgEventReason2LaunchProgram 5

Program was launched.

dbgEventReason2EndProgram 6

Program ended.

dbgEventReason2StopDebugging 7

Process being debugged has been terminated or detached.

dbgEventReason2Step 8

Step into debugger occurred.

dbgEventReason2Breakpoint 9

Breakpoint was hit.

dbgEventReason2ExceptionThrown 10

An exception was thrown.

dbgEventReason2ExceptionNotHandled 11

An exception was not handled.

dbgEventReason2UserBreak 12

User hits break.

dbgEventReason2ContextSwitch 13

User switched stackframes, threads, or processes.

dbgEventReason2Evaluation 14

An evaluation occurred.

dbgEventReason2UnwindFromException 15

After an exception has occurred, the state has been reset to the state prior to when the exception was thrown.

Remarks

Used by the Debugger object's LastBreakReason property and by the Debugger event OnEnterBreakMode.

Applies to