Skip to main content
AMuth.3
Associate III
October 22, 2022
Solved

How to watch variable values in the code during runtime in STM32Cube IDE debugger like seeing the values of SFRs for STM32F4 Discovery board?ie) How to use Variable views?

..

This topic has been closed for replies.
MM..1
MM..1Best answer
Super User
October 27, 2022
You can live only global static variables, for local you need break your code on place where exists...

7 replies

MM..1
Super User
October 23, 2022

You can use 3 variants, Variable view shows local variables in breakpoint area automaticaly,

Watch 1 and 2 shows your selected variables, and Live variables shows selected on run state too.

AMuth.3
AMuth.3Author
Associate III
October 25, 2022

Please tell me where to find and how to use the Watch 1 & 2, Live variables. I browsed through the IDE and I could not find that.

Thanks.

MM..1
Super User
October 25, 2022

Watch 1 2 i miss from other system but in IDE switched to debug perspective you see all

0693W00000UomeiQAB.png