You copied the Doc URL to your clipboard.

enable breakpoints

This command enables one or more breakpoints or watchpoints.

Syntax

enable [breakpoints] number...

Where:

number

Specifies the breakpoint or watchpoint number. This is the number assigned by the debugger when it is set. You can use info breakpoints to display the number and status of all breakpoints and watchpoints.

Note

Multiple-statements on a single line of source code are assigned sub-numbers, for example n.n. You can specify all multiple-statement breakpoints by specifying n.0 or individually by specifying n.n.

If no number is specified then all breakpoints and watchpoints are enabled.

Note

The breakpoints sub-command is optional.

Example

enable breakpoints 1           # Enable breakpoint number 1
enable breakpoints 1 2         # Enable breakpoints number 1 and 2
enable breakpoints             # Enable all breakpoints and watchpoints