Debugger3.AllBreakpointsLastHit Propriedade

Definição

Obtém uma coleção de pontos de interrupção vinculados que foram atingidos por último simultaneamente.

public:
 property EnvDTE::Breakpoints ^ AllBreakpointsLastHit { EnvDTE::Breakpoints ^ get(); };
[System.Runtime.InteropServices.DispId(111)]
public EnvDTE.Breakpoints AllBreakpointsLastHit { [System.Runtime.InteropServices.DispId(111)] get; }
[<System.Runtime.InteropServices.DispId(111)>]
[<get: System.Runtime.InteropServices.DispId(111)>]
member this.AllBreakpointsLastHit : EnvDTE.Breakpoints
Public ReadOnly Property AllBreakpointsLastHit As Breakpoints

Valor da propriedade

Breakpoints

Uma coleção de Breakpoints.

Implementações

Atributos

Exemplos

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  

Comentários

AllBreakpointsLastHit Obtém uma Breakpoints coleção que contém vários pontos de interrupção vinculados que o depurador acessa simultaneamente. Consulte dbgBreakpointType para obter mais informações sobre pontos de interrupção associados. Para recuperar apenas um ponto de interrupção, use a BreakpointLastHit propriedade.

Aplica-se a