| title | Toggle Breakpoint Command | |||
|---|---|---|---|---|
| description | 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. | |||
| ms.date | 11/04/2016 | |||
| ms.topic | reference | |||
| f1_keywords |
|
|||
| helpviewer_keywords |
|
|||
| author | Mikejo5000 | |||
| ms.author | mikejo | |||
| ms.subservice | general-ide |
Turns the breakpoint either on or off, depending on its current state, at the current location in the file.
Debug.ToggleBreakpoint [text]
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.
The following example toggles the current breakpoint.
>Debug.ToggleBreakpoint