RemoveBreakpointAtLine Method

Home Page (Objects)OverviewFAQReference

Applies to: Breakpoints object

Removes all breakpoints on a line.

Syntax

object.RemoveBreakpointAtLine ( [ line_number ] )

Parameters

object

An expression that evaluates to a Breakpoints object.

line_number

A Long representing the line on which you want to remove all breakpoints. The default is the current line in the active text document.

Return Values

The RemoveBreakpointAtLine method returns one of the following values:

Example

The following example removes the breakpoint on line 10:

Dim bps
Set bps = Debugger.Breakpoints
bps.RemoveBreakpointAtLine(10)