Compartir a través de


Breakpoint2.CurrentHits Property

Gets the number of times this breakpoint has been hit during this debugging session.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
ReadOnly Property CurrentHits As Integer
int CurrentHits { get; }
property int CurrentHits {
    int get ();
}
abstract CurrentHits : int with get
function get CurrentHits () : int

Property Value

Type: Int32
An integer containing the number of times a breakpoint is hit during the debugging session.

Remarks

This number is specified in the Breakpoint Hit Count dialog box and in the Breakpoints Window.

.NET Framework Security

See Also

Reference

Breakpoint2 Interface

EnvDTE80 Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples

How to: Specify a Hit Count