2025-12-18 11:50 AM - edited 2025-12-18 11:51 AM
Hello,
I'm not sure where to begin with this issue.
When I enable the RTOS Proxy as shown below in the debug launch configuration.
And I flash and debug, I get the following error/crash. And I also have to unplug and replug the stlink v2 from the computer for it to be recognized again.
This behavior is consistent except when I change the code structure in some small way like commenting out a few lines of code. Changing the code in some small way appears to make it work consistently again?
2025-12-18 2:21 PM - edited 2025-12-18 2:26 PM
As you see in the output, the proxy could not find some symbols that must be exported by the program: xQueueRegistryStyle and so on.
When you comment out few lines of code it could cause a bigger effect due to linker optimization of unused code and LTCG. For example, if commented-out lines refer to functions and these functions become unreferenced.
2025-12-19 12:50 AM
Hello,
The first symbol not found xQueueRegistrySize is not killer as you saw in your other post.
But I think the 2nd pxCurrentTimerList is more important and this is why it stops then.
So as Pavel wrote, your code is no more valid for RTOS debugging.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.