Share via


Breakpoint.CurrentHits Property

Indicates the number of times a breakpoint has been hit during the active debugging session.

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

Syntax

'Declaration
ReadOnly Property CurrentHits As Integer
'Usage
Dim instance As Breakpoint 
Dim value As Integer 

value = instance.CurrentHits
int CurrentHits { get; }
property int CurrentHits {
    int get ();
}
function get CurrentHits () : int

Property Value

Type: System.Int32
An integer representing the number of times this breakpoint has been hit during this debugging session.

Remarks

The return value is specified in the Breakpoint Hit Count dialog box and in the Breakpoints Window.

.NET Framework Security

See Also

Reference

Breakpoint Interface

Breakpoint Members

EnvDTE Namespace

Other Resources

How to: Specify a Hit Count