cancel
Showing results for 
Search instead for 
Did you mean: 

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?

AMuth.3
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
You can live only global static variables, for local you need break your code on place where exists...

View solution in original post

7 REPLIES 7
MM..1
Chief II

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.

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.

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

0693W00000UomeiQAB.png

But when I use that I could not see the value of variables. It is showing as below

0693W00000VOEAlQAP.png

You can live only global static variables, for local you need break your code on place where exists...

What about watch 1 , 2 ? please reply.

is in KEIL