Set a breakpoint at a line number or expression.
stop [quiet] at expr [thread ID {,...}][if cond] [commands]
expr |
A line number in source code or an expression, other than a function name. |
ID |
A thread ID. |
cond |
A conditional expression. |
commands |
A list of debugger commands. |
This command sets a breakpoint on an expression that you specify with expr.
To suppress status reporting messages when the debugger hits a breakpoint, specify quiet.
To set a breakpoint such that the debugger stops when it hits one or more specific threads, specify thread and one or more comma-separated thread IDs.
To set a breakpoint based on a conditional expression, specify if cond.
To run one or more commands upon hitting a breakpoint, specify commands.
(idb) stop in main [#1: stop in int main(void) ] (idb) stop at 167 [#1: stop at "src/x_list.cxx":167] (idb) run [1] stopped at [void List<Node>::print(void) const:167 0x0804af2e] 167 cout << "Node " << i ; (idb)
Copyright © 2001-2011, Intel Corporation. All rights reserved.