cont (idb mode only)

Continue program execution.

Syntax

cont [in loc]
cont [signal] [to source_line]
n cont [signal]

Parameters

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.

Description

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:

You can repeat the cont command n + 1 times by entering n cont.

Example

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); 

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.