Debugger::LastBreakReason Property

 

Gets the last reason that a program was broken. If the program is running it returns DBG_REASON_NONE.

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

property dbgEventReason LastBreakReason {
	dbgEventReason get();
}

Property Value

Type: EnvDTE::dbgEventReason

A dbgEventReason value.

LastBreakReason returns a dbgEventReason value indicating why a program broke. A program can be broken for one of the following reasons:

If nothing is being debugged or the debugger is in run mode, this property returns dbgEventReasonNone.

The following example demonstrates how to use the LastBreakReason property.

No code example is currently available or this language may not be supported.
Return to top
Show: