Continue program execution.
cont [in loc] cont [signal] [to source_line] n cont [signal]
loc |
A function name. Instructs the debugger to continue until it arrives at this function. |
signal |
An integer constant or a signal name. Default: 0 |
source_line |
A line specifier. |
n |
The number of times to repeat the cont command. |
This command without a parameter continues program execution until the debugger encounters a breakpoint, a signal, an error, or normal process termination. Specify a signal parameter value to send an operating system signal to the process.
The signal parameter can be either a signal number or a string name, such as SIGSEGV. When you do not include this parameter, the process continues execution without specifying a signal. If you specify a signal, the process continues execution with that signal.
Use the in argument to continue until the debugger arrives at the function loc. The function name must be valid. If the function name is overloaded and you do not resolve the scope of the function in the command line, the debugger prompts you with the list of overloaded functions with that name from which to choose.
Use the to argument to resume execution and then halt when the debugger arrives at the source line source_line. The form of the optional to argument must be either:
quoted_filename:line_number, which explicitly identifies both the source file and the line number where execution is to be halted.
line_number, a positive number that indicates the line number of the current source file where execution is to be halted.
You can repeat the cont command n + 1 times by entering n cont.
In the following example, a cont command resumes process execution after it is suspended by a breakpoint.
(idb) list 195:7 > 195 nodeList.append(new IntNode(3)); {static int somethingToReturnTo; somethingToReturnTo++; } 196 197 IntNode* newNode2 = new IntNode(4); 198 nodeList.append(newNode2); {static int somethingToReturnTo; somethingToReturnTo++; } 199 200 CompoundNode* cNode2 = new CompoundNode(10.123, 5); 201 nodeList.append(cNode2); {static int somethingToReturnTo; somethingToReturnTo++; } (idb) stop at 200 [#2: stop at "src/x_list.cxx":200] (idb) cont [2] stopped at [int main(void):200 0x0805197a] 200 CompoundNode* cNode2 = new CompoundNode(10.123, 5);
Copyright © 1996-2010, Intel Corporation. All rights reserved.