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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.