Use the following commands to display the current breakpoint table:
GDB Mode
show_all_breakpoints_command
: info breakpoints [ expression ]
| info watchpoints [ expression ]
| info break [ expression ]
| info b [ expression ]
| i breakpoints [ expression ]
| i watchpoints [ expression ]
| i break [ expression ]
| i b [ expression ]
All these commands are synonyms.
Specify breakpoint number to print information about a particular breakpoint. If you do not specify an argument, the debugger prints information about all breakpoints.
DBX Mode
show_all_breakpoints_command
: status
Each entry in the current breakpoint table is displayed showing all of its properties. For example:
GDB Mode
(idb) info breakpoints
Num Type Disp Enb Address What
1 breakpoint keep y 0x08051603 in main at src/x_list.cxx:182
breakpoint already hit 1 time(s)
2 breakpoint keep y 0x0804ae5a in List<Node>::append(Node * const) at src/x_list.cxx:148
breakpoint already hit 1 time(s)
3 watchpoint keep y _firstNode
DBX Mode
(idb) status
#1 PC==0x08051603 in int main(void) "src/x_list.cxx":182 { stop }
#2 PC==0x0804ae5a in void List<Node>::append(class Node* const) "src/x_list.cxx":148 { break }
#3 Access memory (write) 0xbfffdb00 to 0xbfffdb03 { stop }
When an entry in the current breakpoint table references a shared object that is not currently mapped, its contribution to the What column indicates Not Currently Mapped.
When large or complex values are passed by value to the routine in the status line, the output can be voluminous. You can set the control variable $statusargs to 0 to suppress the output of argument type information in the status line.