32.6.5.2 Breakpoints Buffer
The breakpoints buffer shows the existing breakpoints and watchpoints
(see Breakpoints). It has three special
commands:
- <SPC>
- Enable/disable the breakpoint at the current line
(
gdb-toggle-breakpoint
). On a graphical display, this changes
the color of a bullet in the margin of the source buffer at the
relevant line. This is red when the breakpoint is enabled and grey
when it is disabled. Text-only terminals correspondingly display
a ‘B’ or ‘b’.
- D
- Delete the breakpoint at the current line (
gdb-delete-breakpoint
).
- <RET>
- Display the file in the source buffer at the breakpoint specified at
the current line (
gdb-goto-breakpoint
). Alternatively, click
Mouse-2 on the breakpoint that you wish to visit.