Share via


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
'Usage
Dim instance As Breakpoint2 
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 containing the number of times a breakpoint is hit during the debugging session.

Implements

Breakpoint.CurrentHits

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

Breakpoint2 Members

CurrentHits Overload

EnvDTE80 Namespace

Other Resources

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

How to: Specify a Hit Count