| |||
| Home > RealView Debugger Commands > Alphabetical command reference > STOP | |||
Stops target program execution, or a specified thread when the processor is running in RSD mode.
STOP [[=] threadID]
where:
threadIDIdentifies the thread to be stopped when running in RSD mode.
The behavior of the STOP command depends on the whether your program is running on a non OS-aware connection, an OS-aware connection, or a RealMonitor-aware connection.
The behavior of the STOP command depends on whether the processor is running in HSD or RSD mode:
If the processor is running in HSD mode, the command stops the whole processor.
If the processor is running in RSD mode, and you
use the STOP command without specifying a thread,
RealView Debugger attempts to stop the processor. The behavior depends
on the OS System_Stop setting in the Advanced_Information block
for the connection.
If the System_Stop setting is set to Prompt,
you are prompted to continue with the request:
Yes stops the processor, and the processor falls back to HSD mode.
No cancels the stop request, and the processor continues to run.
If the System_Stop setting is set to Never,
the STOP command is not actioned.
If the processor is running in RSD mode, and you use the STOP command with a thread identifier, the identified thread is stopped.
The stopping of threads is accomplished by the Debug Agent using the associated OS service.
The following examples show how to use STOP:
stopStops the processor.
stop = thread_4Stops the specified thread in RSD.
stop = 0x39d8Stops the thread specified by the TCB address in RSD.
the following in the RealView Debugger User Guide:
the following in the RealView Debugger Target Configuration Guide:
the following in the RealView Debugger RTOS Guide: