You copied the Doc URL to your clipboard.

disable breakpoints

Disables one or more breakpoints or watchpoints.


disable [breakpoints] 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.


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 disabled.


The breakpoints sub-command is optional.

Example 1-29 Examples

disable breakpoints 1           # Disable breakpoint number 1
disable breakpoints 1 2         # Disable breakpoints number 1 and 2
disable breakpoints             # Disable all breakpoints and watchpoints
disable breakpoints $           # Disable the breakpoint whose number is in the
                                # most recently created debugger variable