Skip to main content
Associate III
July 9, 2026
Solved

Variable Watch slow/How to change value format on the fly

  • July 9, 2026
  • 2 replies
  • 59 views

Hi,

 

I’m really liking the STM32CubeIDE Extension for VSCode. Definitely a huge leap forward.

One of the few things that I miss from STM32CubeIDE based on Eclipse (the “old” one) is the variable Watch (not live watch, regular watch) speed. It seems significantly slower on VSCode. I deal with a lot of multidimensional matrices so it’s very noticeable for me.

 

Additionally, I know I can run some preRunCommands to set the watch variables to hex. But I cannot seem to figure out how to change them to binary or back to decimal while I’m debugging. This is a feature I use a lot since I deal with mixed formats in my projects.

 

Any help is much appreciated

Thanks

Best answer by Florent V

Hi ​@Visques,

The Variable Watch is a native view in VSCode. It has refresh limitations (just like our Live Variable Watch view).
We have an internal ticket to improve our view so it is more responsive and could potentially offer the “classic watch” (not live) at the same time.

Regarding displaying variables in hex/dec...:
For now, we do not have a menu or button to change the format.
However, just like with the “preRunCommand” attribute, it is possible to change it during the debug session.

In the Debug Console, to switch back to decimal, for example:
 

Be careful: you must include the ‘>’ character, even if it already appears in the debug console field.
Note: we know that this is not ideal. Improving this point is also planned.

KR,
/Flo

2 replies

Nawres GHARBI
ST Technical Moderator
July 13, 2026

Hi ​@Visques 

thanks for the feedback I’m transferring this to the dev team 

VisquesAuthor
Associate III
July 13, 2026

Thank you

Florent V
Florent VBest answer
ST Employee
July 15, 2026

Hi ​@Visques,

The Variable Watch is a native view in VSCode. It has refresh limitations (just like our Live Variable Watch view).
We have an internal ticket to improve our view so it is more responsive and could potentially offer the “classic watch” (not live) at the same time.

Regarding displaying variables in hex/dec...:
For now, we do not have a menu or button to change the format.
However, just like with the “preRunCommand” attribute, it is possible to change it during the debug session.

In the Debug Console, to switch back to decimal, for example:
 

Be careful: you must include the ‘>’ character, even if it already appears in the debug console field.
Note: we know that this is not ideal. Improving this point is also planned.

KR,
/Flo

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.
VisquesAuthor
Associate III
July 15, 2026

Thanks for your answer ​@Florent V, and for the great extension you guys are developing.