info watchpoints (gdb mode only)

Print information about one or more watchpoints.

Syntax

info watchpoints [expr]

Parameters

expr

An expression denoting the ID of a watchpoint.

Description

This command prints information about the specified watchpoint. If you do not specify an ID, the debugger prints information about all watchpoints.

Watchpoints are also referred to as data breakpoints.

This command is the same as info breakpoints.

Example

(idb) info watchpoints
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

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.