| |||
| Home > RealView Debugger Commands > Alphabetical command reference > WAIT | |||
Tells the debugger whether to wait for a command to complete before permitting another command to be issued.
= [{ON | OFF}]WAIT
where:
ONspecifies that all following commands are to run synchronously.
OFFspecifies that following commands run according to their default behavior. This is the default.
The WAIT command makes commands run synchronously. If WAIT is not used, commands use their default behavior.
All commands run from a macro run synchronously unless WAIT is
set OFF.
This command requires that RealView Debugger is connected to a debug target.
The following examples show how to use WAIT:
The following commands cause the debugger to fill memory synchronously, forcing you to wait until the fill is complete before accepting another command:
wait on fill/b 0x8000..0x9FFF =0 wait off
In the following example, the CEXPRESSION command runs when the target next stops running (for example, if the breakpoint is hit):
load /pd/r dhrystone.axf breakexecution main wait on go wait off cexpression @r0