Shows an RTOS's threads, stacks and state in VS Code while you debug a microcontroller
open sourceMITfree
A VS Code extension that shows the tasks of a real-time operating system on a microcontroller while a debug session is paused: each thread's state, priority and stack use, read from the RTOS's own global variables. It supports FreeRTOS, uC/OS-II, uC/OS-III, embOS, ThreadX, RTX5 and eCos, with Zephyr, ChibiOS, RT-Thread and Ada GNAT bare-metal runtimes in beta, across several cores, and works with any debugger that speaks the Debug Adapter Protocol (Cortex-Debug, cppdbg and cspy so far). It began as part of Cortex-Debug. MIT licensed.
Problems it solves
- see my FreeRTOS tasks and their stack usage while debugging in VS Code
- find which RTOS thread is blocked on my STM32
- inspect Zephyr threads from a GDB debug session
Features
- thread lists for FreeRTOS, ThreadX, embOS, uC/OS, RTX5 and eCos
- beta support for Zephyr, ChibiOS and RT-Thread
- stack use per task
- several cores at once
- works with any Debug Adapter Protocol debugger
Alternatives
The same job
These do what RTOS Views does.
- MemoryView A memory viewer panel for VS Code debug sessions, for any debugger that can read memory
- MCU Peripheral Viewer Shows a microcontroller's peripheral registers from its SVD file while you debug in VS Code