Skip to content

AddRemoveBreakPoint Method

Description

Adds or removes a breakpoint at a specified row/line in the editor.

Syntax

Public Sub AddRemoveBreakPoint( _
    ByVal nRow As Long _
)

Parameters

  • nRow: Row/line number to add or remove a breakpoint.

Return Type

This method adds or removes a breakpoint at a specified row/line in the editor. If there is no breakpoint at the specified row, a breakpoint will be added; if a breakpoint exists at the specified row, then the breakpoint will be removed.

Visual Studio style breakpoints allow you to place a "breakpoint" at any position in your text document. This can be used for many different reasons. For example, if you have a code compiler, you could use these breakpoints to indicate where code execution will "break" and wait for user interaction.

Breakpoint Example

See Also

SyntaxEdit Control


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.