Getting Started with Freescale MQX
™ and IAR Embedded Workbench
®
, Rev. 5, 04/2015
Freescale Semiconductor
18
3.4.3 Task-aware Debugging
The TAD plug-in also provides native debugger support for multi-tasking MQX RTOS environment.
Individual tasks can be examined any time the application stops on breakpoint or when it is stopped
manually
by pressing the “Break” red-hand toolbar button.
In the MQX RTOS menu,
in the IAR IDE main window, select the “Task List” item at the top of the
menu. The Task List view opens at the top of the window and gives you a list of all running tasks.
The Green Arrow
icon indicates which task was active at the moment of break.
The Lens
icon indicates which task context is currently examined in the debugger in
terms of execution point, register values, etc. Double click task items in the “Task List” view
to move the lens and examine other tasks.
Figure 24- IAR