Condividi tramite


Proprietà Debugger3.AllBreakpointsLastHit

Ottiene una raccolta di punti di interruzione associati raggiunti per ultimi contemporaneamente.

Spazio dei nomi:  EnvDTE90
Assembly:  EnvDTE90 (in EnvDTE90.dll)

Sintassi

'Dichiarazione
ReadOnly Property AllBreakpointsLastHit As Breakpoints
Breakpoints AllBreakpointsLastHit { get; }
property Breakpoints^ AllBreakpointsLastHit {
    Breakpoints^ get ();
}
abstract AllBreakpointsLastHit : Breakpoints with get
function get AllBreakpointsLastHit () : Breakpoints

Valore proprietà

Tipo: Breakpoints
Raccolta Breakpoints.

Note

La proprietà AllBreakpointsLastHit ottiene una raccolta Breakpoints contenente più punti di interruzione associati raggiunti contemporaneamente dal debugger. Per ulteriori informazioni sui punti di interruzione associati, vedere dbgBreakpointType. Per recuperare solo un punto di interruzione, utilizzare la proprietà BreakpointLastHit.

Esempi

Sub ListBreakpointsLastHit()
    ' This function dumps the names of all the breakpoints last hit to
    ' a new pane in the Output window.
    Dim ow As OutputWindow
    ow = DTE.Windows.Item(Constants.vsWindowKindOutput).Object

    Dim bppane As OutputWindowPane
    bppane = ow.OutputWindowPanes.Add("Debugger")

    Dim hitbps As EnvDTE90.Breakpoints3
    hitbps = DTE.Debugger.AllBreakpointsLastHit

    If (hitbps.Count > 0) Then
        Dim bp As Breakpoint
        For Each bp In hitbps
            bppane.OutputString(bp.Name + vbCrLf)
        Next
    Else
        bppane.OutputString("No breakpoints were hit")
    End If
End Sub

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Debugger3 Interfaccia

Spazio dei nomi EnvDTE90