Introduction to THREADX Kernel Awareness for Wind River’s VisionCLICK® Debugger
Advanced THREADX RTOS awareness for VisionCLICK is delivered and installed as a part of the Wind River VisionCLICK debugger. Kernel Awareness facilitates rapid understanding of what is happening in the THREADX application, including information about all application threads and any application THREADX object. VisionCLICK is supported for use with the ColdFire architecture, with additional architectures coming soon.
Introduction to the Plugin
The plugin introduces the following elements in the VisionCLICK user interface:
- In the View menu, it installs a number of entries corresponding to the various types of THREADX-specific windows that can be opened by the plugin.
- It installs a new menu, named THREADX, with entries for various RTOS-specific commands, such as thread-related stepping commands.
- It installs a new toolbar with buttons for commands from the THREADX menu.
VisionCLICK kernel awareness for THREADX introduces several useful debugger windows. Right-clicking in most of the windows opens a context menu where the display format can be set to hexadecimal or decimal.
These windows enable viewing of Threads, Queues, Timers, Event Flags, Semaphores, Mutexes, Block Pools, Byte Pools, and the THREADX version number.
The Thread List Window
This window shows a list of all threads created by the current application (by calls to tx_thread_create) and some items pertaining to their current state. The currently active thread is indicated by a state of RUNNING in the State column. The order of the threads is that of the _tx_thread_created_ptr.
The THREADX Thread Info display includes a Maximum stack pointer value that shows how much stack has been used thus far.
The other windows display THREADX status information of various types. These windows are formatted but passive displays of various internal THREADX data structures that have been created and are being used by the application.