2020-09-13 07:01 PM
Hello,
I am using the STM32 Cube IDE.
I want to monitor real-time variables through debugging mode.
But it doesn't...
How use to Real-Time variables??
2020-09-13 07:04 PM
Add them on the live expressions tab. It's buggy on restarts, you usually have to re-enter them when you re-run, but it works.
2020-09-13 07:17 PM
Thank you for the answer.
I didn't understand the meaning of this.
Excuse me. How should I set it up?
2020-09-13 07:21 PM
Do you mean this?
2020-09-13 07:28 PM
The "Live Expressions" tab is two tabs to the right of the "Expressions" tab on your last screenshot.
2020-09-13 07:35 PM
I think it's mean.
Is it right??
But It isn't real time variables...
It has a fixed value.
I toggled it every second by program.
2020-09-13 07:46 PM
Works for me. Make sure your variable exists and the compiler isn't optimizing it out.
2020-09-13 09:04 PM
I used ST-LINK/V2.
Target mcu is STM32G030C8T.
VDD
GND
SWCLK
SWDIO
Debug Setting.
I programmed the variable to increase by 1 every second.
However, after changing from the initial value 0 to 1, nothing has changed.
2020-09-13 09:16 PM
I used ST-LINK/V2.
Target mcu is STM32G030C8T.
VDD
GND
SWCLK
SWDIO
Debug Setting.
I programmed the variable to increase by 1 every second.
However, after changing from the initial value 0 to 1, nothing has changed.
2020-09-14 01:20 AM
Could I send it to you?