Page 1 of 1

How to avoid debugger to break into FreeRTOS code ?

Posted: Mon Nov 07, 2022 7:51 pm
by beryllium
Hello,
To familiarize myself with the VSCODE + IDF development environment, I tried to debug the uart_echo program given in the examples. After much difficulty, I managed to download the program to my development board (wrover-kit) and activate the debugger. However, while I put a breakpoint at the program entrance, just before the creation of the task, the debugger stops in the freeRTOS function: prvCheckTasksWaitingTermination, but never on the breakpoints placed in the code of the uart_echo module! The program never exits this loop in prvCheckTasksWaitingTermination, and does not execute the program code, as it does in the absence of the debugger. What did I miss? Thanks for your help.