1.2.2 Execution control

List of all the DS-5 Debugger commands that enable you to control the starting and stopping of the debugger.

advance

Sets a temporary breakpoint at the specified address and calls the debugger continue command. Use the advance command to halt execution at a particular point in your code, for example a specific function, source code line number, or instruction memory address.

continue

Continues running the target.

finish

Continues running the device to the next instruction after the selected stack frame finishes.

handle

Controls the handler settings for one or more signals or exceptions.

info signals, info handle

Displays information about the handling of signals or processor exceptions.

interrupt, stop

Interrupts the target and stops the application if it is running.

next

Steps through an application at the source level stopping at the first instruction of each source line but stepping over all function calls.

nexti

Steps through an application at the instruction level but stepping over all function calls.

nexts

Steps through an application at the source level stopping at the first instruction of each source statement but stepping over all function calls.

reset

Performs a reset on the target.

reverse-continue

Continues running the target backwards until a breakpoint or watchpoint is hit.

reverse-next

Rewinds execution to the preceding source line in the current function.

reverse-nexti

Rewinds execution at the instruction level, stepping over all function calls.

reverse-step

Steps back through an application a specified number of source lines at a time, stepping into all function calls.

reverse-stepi

Steps back through an application a specified number of instructions at a time.

reverse-step-out

Rewinds execution through the specified number of stack frames.

run

Starts running the target.

set blocking-run-control

Controls whether run control operations such as stepping and running are blocked until the target stops or released immediately.

set debug-from

Specifies the address of the temporary breakpoint for subsequent use by the start command.

set step-mode

Controls the default behavior of the step and steps commands.

show blocking-run-control

Displays the setting for blocking run control operations such as stepping and running.

show debug-from

Displays the setting for the expression that is used by the start command to set a temporary breakpoint.

show step-mode

Displays the step setting for functions without debug information.

start

Sets a temporary breakpoint, calls the debugger run command, and then deletes the temporary breakpoint when it is hit. By default, the temporary breakpoint is set at the address of the global function  main().

step

Steps through an application at the source level stopping on the first instruction of each source line including stepping into all function calls.

stepi

Steps through an application at the instruction level including stepping into all function calls.

steps

Steps through an application at the source level stopping on the first instruction of each source statement (for example, statements in a for() loop) including stepping into all function calls.

thread, core

Displays information about the current thread or processor.

thread apply, core apply

Switches control to a specific thread or processor to execute a debugger command and then switches back to the original state.

wait

Instructs the debugger to wait until the target stops.

Enter help followed by a command name for more information on a specific command.

Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.