RemoveBreakpointAtLine Method
Home Page (Objects) | Overview | FAQ | Reference
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:
True If breakpoints were removed.
False If no breakpoints were removed.
Example
The following example removes the breakpoint on line 10:
Dim bps
Set bps = Debugger.Breakpoints
bps.RemoveBreakpointAtLine(10)