Aracılığıyla paylaş


Debugger3.AllBreakpointsLastHit Özellik

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

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

Sözdizimi

'Bildirim
ReadOnly Property AllBreakpointsLastHit As Breakpoints
    Get
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.

Yüklenen

Debugger2.AllBreakpointsLastHit

Açıklamalar

AllBreakpointsLastHitalır bir Breakpoints birden çok, içeren koleksiyon bağlı hata ayıklayıcı aynı anda isabetlerinin sayısı Kırılma noktaları. Bakın dbgBreakpointType bağlı kesme noktaları hakkında daha fazla bilgi Tek bir kesme noktası almak için kullanmak 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 = 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

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

Debugger3 Arabirim

AllBreakpointsLastHit Fazla Yük

EnvDTE90 Ad Alanı