cancel
Showing results for 
Search instead for 
Did you mean: 

watch/edit a variable value in realtime when debugging

RFirm
Associate II

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?

3 REPLIES 3
TDK
Guru

STM32CubeMonitor can do that.

If you feel a post has answered your question, please click "Accept as Solution".
yang2
Associate III

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)?

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.