Debugger2::LastBreakReason Property

 

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

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

property dbgEventReason LastBreakReason {
	dbgEventReason get();
}

Property Value

Type: EnvDTE::dbgEventReason

A dbgEventReason value.

A program can be broken, for example, for some of the following reasons:

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

For a complete list of enumerations, see dbgEventReason.

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: