Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Home Page (Objects) | Overview | FAQ | Reference
Applies to: Breakpoints object
Adds an unconditional location breakpoint to a line.
Syntax
object**.AddBreakpointAtLine(** [line_number] )
Parameters
object
An expression that evaluates to a Breakpoints object.
line_number
(Optional) A Long representing the line to which you will add the breakpoint. The default is the current line in the active text document.
Return Values
The AddBreakpointAtLine method returns the Breakpoint object representing the breakpoint added:
Example
The following example adds a breakpoint at line 10:
Dim bps
Set bps = Debugger.Breakpoints
bps.AddBreakpointAtLine(10)