RemoveAllBreakpoints Method

Home Page (Objects)OverviewFAQReference

Applies to: Breakpoints object

Removes all breakpoints in the Breakpoints collection.

Syntax

object.RemoveAllBreakpoints

Parameters

object

An expression that evaluates to a Breakpoints object.

Example

The following example removes all breakpoints:

Dim bps
Set bps = Debugger.Breakpoints
bps.RemoveAllBreakpoints