Multi-threaded RTOS debug

Last modified: 11 February 2024

For the case of debugging with RTOS, CLion provides a view of FreeRTOS, Azure RTOS, and Zephyr tasks (threads). For FreeRTOS, you can also explore objects and heap.

RTOS integration is intended to work for any relevant run/debug configuration, such as Embedded GDB Server or OpenOCD Download & Run.

For example, here is how an Embedded GDB Server configuration can be set up using the QEMU emulator:

Embedded GDB Server configuration example