You copied the Doc URL to your clipboard.

advance

This command sets a temporary breakpoint and calls the debugger continue command. The temporary breakpoint is subsequently deleted when it is hit.

Note

Control is returned as soon as the target is running. You can use the wait command to block the debugger from returning control until either the application completes or a breakpoint is hit.

Syntax

advance [-p] [filename:]location | *address

Where:

p

Specifies whether or not the resolution of an unrecognized breakpoint location results in a pending breakpoint being created.

filename

Specifies the file.

location

Specifies the location:

line_num

is a line number

function

is a function name.

label

is a label name.

+offset | -offset

Specifies the line offset from the current location.

address

Specifies the address. This can be either an address or an expression that evaluates to an address.

Example

advance func1        # Sets a temporary breakpoint at func1 and continues
                     # running the target
advance -p lib.c:20  # Sets a pendable temporary breakpoint at line 20 in lib.c
                     # and continues running the target