Aracılığıyla paylaş


Debugger.AllBreakpointsLastHit Özellik

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

Ad alanı:  EnvDTE
Derleme:  EnvDTE (EnvDTE.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

AllBreakpointsLastHitdöndüren bir Breakpoints koleksiyonu içeren birden çok ilişkili hata ayıklayıcı aynı anda isabet kesme.Bkz: dbgBreakpointType bağlı kesme noktaları hakkında daha fazla bilgi için numaralandırma.Tek bir kesme noktası almaya BreakpointLastHit özelliği.

Örnekler

Aşağıdaki örnek, AllBreakpointsLastHit özelliğinin kullanımı gösterilmiştir.

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 Breakpoints
    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

Debugger Arabirim

EnvDTE Ad Alanı

BreakpointLastHit

Breakpoints

Breakpoint