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)

int CurrentHits { get; }

Property Value

Type: System.Int32

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

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

Return to top