I'm experiencing issues with multithreading debugging in VSCode when using the "Eclipse CDT GDB Adapter" for a project compiled with the Amazon SMP FreeRTOS kernel. Specifically, I'm using the "Run the Amazon SMP FreeRTOS kernel instead" option in ESP-IDF 5.3.1 on an ESP32-S3.
When I try to debug, GDB shows errors indicating that it cannot find FreeRTOS symbols, such as:
Code: Select all
Warn : RTOS FreeRTOS not detected. (GDB could not find symbol 'xSchedulerRunning')
Code: Select all
.bss.xSchedulerRunning 0x3fc96b38 0x4 esp-idf/freertos/libfreertos.a(tasks.c.obj)
Code: Select all
.bss.xSchedulerRunningPerCore 0x3fc95d04 0x8 esp-idf/freertos/libfreertos.a(tasks.c.obj)
Steps to reproduce:
- Use ESP32-S3 with ESP-IDF version 5.3.1.
- Compile the blink example with the "Run the Amazon SMP FreeRTOS kernel instead" option.
- Attempt to debug using the "Eclipse CDT GDB Adapter" in VSCode.
Thanks in advance, Ramiro