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
Remarks
This number 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.
See Also
Reference
Other Resources
How to: Compile and Run the Automation Object Model Code Examples