Aracılığıyla paylaş


Debugger2.AllBreakpointsLastHit Özellik

Son anda isabet ilişkili kesme noktaları topluluğu alır.

Ad alanı:  EnvDTE80
Derleme:  EnvDTE80 (EnvDTE80.dll içinde)

Sözdizimi

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

Özellik Değeri

Tür: EnvDTE.Breakpoints
A Breakpoints koleksiyonu.

Notlar

AllBreakpointsLastHitalır bir Breakpoints birden çok, içeren koleksiyon bağlı hata ayıklayıcı aynı anda isabetlerinin sayısı kesme.Bkz: dbgBreakpointType bağlı kesme noktaları hakkında daha fazla bilgi için.Tek bir kesme noktası almaya BreakpointLastHit özelliği.

Örnekler

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

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

Debugger2 Arabirim

AllBreakpointsLastHit Fazla Yük

EnvDTE80 Ad Alanı