How to avoid debugger to break into FreeRTOS code ?

beryllium
Posts: 11
Joined: Fri Mar 12, 2021 2:14 pm

How to avoid debugger to break into FreeRTOS code ?

Postby beryllium » Mon Nov 07, 2022 7:51 pm

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.

Who is online

Users browsing this forum: No registered users and 177 guests