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
int CurrentHits { get; }
property int CurrentHits {
    int get ();
}
abstract CurrentHits : int with 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

EnvDTE Namespace

Other Resources

<PAVEOVER> How to: Specify a Hit Count