You copied the Doc URL to your clipboard.

delete breakpoints

Deletes one or more breakpoints or watchpoints.


delete [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.

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

Example 1-26 Examples

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