Skip to main content
Associate III
December 18, 2025
Question

STM32CubeIDE for VSCode RTOS proxy seems to be crashing GDB server

  • December 18, 2025
  • 2 replies
  • 326 views

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. 

NMartin_1-1766086257224.png

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. 

NMartin_2-1766086625855.png

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?

2 replies

Pavel A.
Super User
December 18, 2025

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.

 

LaurentL
ST Employee
December 19, 2025

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.

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.