Run until a specific line.
until [line]
line |
The line until which to run. |
This command continues the debuggee past the current line until the specified source line in the current stack frame. Use this command to avoid single stepping through a loop more than once, or to skip over the execution of uninteresting code.
If you specify line, the debugger continues running until it either reaches the specified location, or the current stack frame returns.
If you do not specify line, the debuggee continues until it is about to execute a source line with a line number greater than the current line number.
In this example, the debuggee is stopped at line 18. The until command causes the debuggee to run to line 22.
Breakpoint 1, main () at hello.c:18 18 float local_thing = 1.5; (idb) list 13 14 extern FILE *stderr; 15 16 int main() 17 { 18 float local_thing = 1.5; 19 pid_t my_pid = -1; 20 int j = 10; 21 22 j = foo( j ); (idb) until 22 main () at hello.c:22 22 j = foo( j ); (idb)
Copyright © 2001-2011, Intel Corporation. All rights reserved.