Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.23 KB

toggle-breakpoint-command.md

File metadata and controls

44 lines (35 loc) · 1.23 KB
title description ms.date ms.topic f1_keywords helpviewer_keywords author ms.author manager ms.subservice
Toggle Breakpoint Command
Learn how to use the Toggle Breakpoint command to turn the breakpoint either on or off, depending on its current state, at the current location in the file.
11/04/2016
reference
debug.togglebreakpoint
ToggleBreakpoint command
Debug.ToggleBreakPoint command
Toggle Breakpoint command
Mikejo5000
mikejo
mijacobs
general-ide

Toggle Breakpoint Command

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

Syntax

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

The following example toggles the current breakpoint.

>Debug.ToggleBreakpoint

See also