disable¶
Disable breakpoint commands.
disable [SUBCOMMAND [ARGS]]
Handle the disable breakpoint commands.
- disable breakpoints – Disable some breakpoints
- disable display – Disable some expressions to be displayed when program stops
- disable pretty-printer – Disable the specified pretty-printer
Type “help disable” followed by target subcommand name for full documentation. Command name abbreviations are allowed if unambiguous.
disable breakpoints – Disable some breakpoints¶
Disable some breakpoints.
disable [breakpoints BREAKPOINTID[ BREAKPOINTID..]]]
- BREAKPOINTID is the id of a breakpoint
Arguments are breakpoint numbers with spaces in between. To disable all breakpoints, give no argument. A disabled breakpoint is not forgotten, but has no effect until re-enabled. This command may be abbreviated “disable”.
disable display – Disable some expressions to be displayed when program stops¶
Disable some expressions to be displayed when program stops.
disable display [DSIPALYEXPID[ DSIPLAYEXPID..]]
- DISPLAYEXPID is the id of a display expression
Arguments are the code numbers of the expressions to stop displaying. No argument means disable all automatic-display expressions. Do “info display” to see current list of code numbers.
disable pretty-printer – Disable the specified pretty-printer¶
Disable the specified pretty-printer.
disable pretty-printer [OBJ-REGEXP [NAME-REGEXP]]
- OBJ-REGEXP – is a regular expression matching the objects to examine. Objects are “global”, the program space’s file, and the objfiles within that program space.
- NAME-REGEXP – matches the name of the pretty-printer. Printer and sub-printer names are semi-column separated.
Examples:
- disable pretty-printer
- disable pretty-printer object.o
- disable pretty-printer .* myprinter;mysubprinter.*
- disable pretty-printer global myprinter;mysubprinter.*
- disable pretty-printer object.o myprinter;mysubprinter.*