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?

  • October 22, 2022
  • 1 reply
  • 24673 views

..

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

1 reply

MM..1
Chief III
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
Chief III
October 25, 2022

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

0693W00000UomeiQAB.png