Solved! I have found what the problem was. I apologize for the inconvenience, but don't think I sent the question the first time. I've been working on it for weeks and days thinking about submitting the question.
Hi Erich, nice to meet you. In the last weeks I have used your blog a lot and I have learned a lot. In fact, that's where the solution came from. In https://mcuoneclipse.com/2017/07/27/troubleshooting-tips-for-freertos-thread-aware-debugging-in-ecli... you mention setting INCLUDE_vTaskDelete to 1, and the solution was not far off.
I already had, just in case, INCLUDE_vTaskDelete at 1, configUSE_PORT_OPTIMISED_TASK_SELECTION at 0, ... But as you recommend on the blog, raising the debugging level to 4 I get:
FreeRTOS symbol(s) found:
- "pxReadyTasksLists" 0x10004C18
- "xPendingReadyList" 0x10004C70
- "xDelayedTaskList1" 0x10004C40
- "xDelayedTaskList2" 0x10004C54
- "pxDelayedTaskList" 0x10004C68
- "pxOverflowDelayedTaskList" 0x10004C6C
- "xTasksWaitingTermination" 0x10004C84
- "xSchedulerRunning" 0x10004CA8
- "uxCurrentNumberOfTasks" 0x10004C9C
- "pxCurrentTCB" 0x10004C14
- "FreeRTOSDebugConfig" 0x00001F9C
- "portArch_Name" 0x00001F98
FreeRTOS symbols(s) not found:
- "xSuspendedTaskList" required
FreeRTOS stack backtrace is disabled
I see that FreeRTOSDebugConfig is present, that is not the problem. But it doesn't find xSuspendedTaskList, which is required.
Investigating what is xSuspendedTaskList I find this (lines 3645--3655 of tasks.c)
#if ( INCLUDE_vTaskDelete == 1 )
{
vListInitialise( &xTasksWaitingTermination );
}
#endif /* INCLUDE_vTaskDelete */
#if ( INCLUDE_vTaskSuspend == 1 )
{
vListInitialise( &xSuspendedTaskList );
}
#endif /* INCLUDE_vTaskSuspend */
Where the xTasksWaitingTermination () and INCLUDE_vTaskDelete that you mention in the blog are also displayed. So I set INCLUDE_vTaskSuspend to 1 in FreeRTOSConfig.h and:
GDB nonstop mode disabled (using allstop mode)
FreeRTOS stack backtrace is enabled
Finally! I've been dreaming of that phrase for weeks. In fact, doesn't it appear to be written in gold letters?

I have tried setting INCLUDE_vTaskSuspend to 1 and INCLUDE_vTaskDelete to 0, and it works. I suppose the difference between the program that you were using on the blog and the one that I am using is that yours deleted tasks and mine did not. I dont know. The best thing is to leave both of them to 1 (in fact, I am about to put all INCLUDEs in 1, just in case). My program does not suspend any tasks, so I assume INCLUDE_vTaskSuspend will be used internally. It won't be a bug, but it could give a warning, right?
Thank you very much for your help.