6.8 About debugging multi-threaded applications

The debugger tracks the current thread using the debugger variable, $thread. You can use this variable in print commands or in expressions. Threads are displayed in the Debug Control view with a unique ID that is used by the debugger and a unique ID from the Operating System (OS) :
os_idle_demon #3 stopped (PID 255 was running)
where #3 is the unique ID used by the debugger and PID 255 is the ID from the OS.
A separate call stack is maintained for each thread and the selected stack frame is shown in bold text. All the views in the DS-5 Debug perspective are associated with the selected stack frame and are updated when you select another frame.
Figure 6-1 Threading call stacks in the Debug Control view
Threading call stacks in the Debug Control view

Related reference
11.4 Breakpoints view
11.6 Commands view
11.7 Debug Control view
11.8 Disassembly view
11.14 Memory view
11.16 Modules view
11.17 Registers view
11.26 Variables view
Non-ConfidentialPDF file icon PDF versionARM DUI0446W
Copyright © 2010-2015 ARM. All rights reserved.