Passcount Property

Home Page (Objects)OverviewFAQReference

Applies to: Breakpoint object

Gets the number of times you pass over a breakpoint before triggering it.

Syntax

object.Passcount

Parameters

object

An expression that evaluates to a Breakpoint object.

Remarks

The Passcount property has the Long type.

Example

The following example gets the passcount for the first breakpoint in the Breakpoints collection:

Dim bps
Dim count
Set bps = Debugger.Breakpoints
count = bps.Item(1).Passcount