Proprietà Debugger2.AllBreakpointsLastHit

Ottiene una raccolta di punti di interruzione associati contenuti contemporaneamente l'ultima riga eseguita.

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

Sintassi

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

Valore proprietà

Tipo: EnvDTE.Breakpoints
In Breakpoints raccolta.

Note

AllBreakpointsLastHit ottiene un oggetto Breakpoints raccolta contenente i punti di interruzione in e associati che il debugger premere contemporaneamente.vedere dbgBreakpointType per ulteriori informazioni sui punti di interruzione associati.Per recuperare solo un punto di interruzione, utilizzare BreakpointLastHit proprietà.

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 = DTE2.Windows.Item(Constants.vsWindowKindOutput).Object

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

    Dim hitbps As Breakpoints
    hitbps = DTE2.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

Debugger2 Interfaccia

Overload AllBreakpointsLastHit

Spazio dei nomi EnvDTE80