Skip to main content
RFirm
Associate
May 28, 2020 11:29 AM UTC
Question

watch/edit a variable value in realtime when debugging

Hello!

Is it possible to watch/edit a variable value realtime when debugging in STM32CubeIDE without setting breakpoints? Like the Watch window of uKeil.

Or any other workaround that i could change values realtime without stoping the application?

This topic has been closed for replies.

3 replies

TDK
May 28, 2020 5:06 PM UTC

STM32CubeMonitor can do that.

"If you feel a post has answered your question, please click ""Accept as Solution""."
yang2
Associate III
May 29, 2020 3:03 AM UTC

Hello, all,

I also have same question.

I use IAR as IDE for STM32F303 development before, but recently I change platform to CubeIDE.

In IAR environment, I can edit/watch variable realtime on debugging.

However, In CubeIDE, I can't edit variable, only monitor available.

Can anyone teach me how to do that?

Does CubeIDE support this feature(Editing variable on line)?

Visitor II
Apr 9, 2025 2:11 PM UTC

Hello,

Sorry to be so late, I was searching for this when I found this thread...

After some tries, I found it is possible in stm32cubeide :

Locate the variable to modify in the Variable window, right clic on the variable -> View Memory.

In the displayed Memory window, go to the adress of your data : you can easily modify your variable here.