| title | RTOS Object Views |
|---|---|
| ms.date | 07/12/2022 |
| description | RTOS View that allows users to view RTOS data of their application. |
| author | gcampbell-msft |
| ms.author | gcampbell |
| monikerRange | >=msvc-170 |
The RTOS Object View allows users to view various components of an RTOS while debugging their application.
- Azure RTOS (ThreadX)
- Block pools
- Byte pools
- Event flags
- Mutexes
- Queues
- Semaphores
- Threads
- Timers
- FreeRTOS
- Queues
- Threads
- Zephyr
- Mailboxes
- Memory slabs
- Message queues
- Mutexes
- Pipes
- Queues
- Semaphores
- Stacks
- Threads
- Timers
Use the RTOS Object View to:
- Access memory locations of various objects.
- Access thread variables or various objects in the Watch view.
Use the arrow keys to select objects within the view. Use the Enter key to navigate to the linked content.
The RTOS Object View will attempt to automatically display information, but setting certain build flags can allow the RTOS Object View to display additional details. The build flags are specific to the RTOS being used. The exact mechanism used to set these flags varies depending on the build system used by the project. Consult your RTOS and build system documentation for more details.
All features should work by default.
- Thread base priority is only available if
configUSE_MUTEXESis enabled. - Thread run count is only available if
configGENERATE_RUN_TIME_STATSis enabled. - The end address of a thread's stack space is only available if
portSTACK_GROWTHorconfigRECORD_STACK_HIGH_ADDRESSare enabled. - The thread list will be retrieved faster if
configMAX_PRIORITIESis set to the lowest possible value that still satisfies the application's requirements.
- All thread information is only available if
CONFIG_DEBUG_THREAD_INFOis enabled. - Thread stack usage is only availabe if
CONFIG_INIT_STACKSandCONFIG_THREAD_STACK_INFOare enabled. - For all object types other than threads, information is only available if
CONFIG_TRACINGandCONFIG_TRACING_OBJECT_TRACKINGare enabled. - The maximum usage of a memory slab is only available if
CONFIG_MEM_SLAB_TRACE_MAX_UTILIZATIONis enabled. - The list of threads waiting on an object is only available if
CONFIG_WAITQ_SCALABLEis disabled.

