This documentation is archived and is not being maintained.

Toggle Breakpoint Command

Turns the breakpoint either on or off, depending on its current state, at the current location in the file.

Debug.ToggleBreakpoint [text]

Arguments

text
Optional. If text is specified, the line is marked as a named breakpoint. Otherwise, the line is marked as an unnamed breakpoint, which is similar to what happens when you press F9.

Example

>Debug.ToggleBreakpoint

See Also

Visual Studio Commands with Arguments | Command Window | Find/Command Box | Pre-defined Visual Studio Command Aliases

Show: