Contents|Index|Previous|Next
Disabling breakpoints

Rather than deleting a breakpoint, watchpoint or catchpoint, you might prefer to disable it. This makes the breakpoint inoperative as if it had been deleted, but remembers the information on the breakpoint so that you can enable it again later.

You disable and enable breakpoints, watchpoints or catchpoints with the enable and disable commands, optionally specifying one or more breakpoint numbers as arguments.

Use info break or info watch to print a list of breakpoints, watchpoints or catchpoints if you do not know which numbers to use.

A breakpoint, watchpoint or catchpoint can have any of four different states of enablement:
 

You can use the following commands to enable or disable breakpoints, watchpoints or catchpoints.
 
Top|Contents|Index|Previous|Next