cancel
Showing results for 
Search instead for 
Did you mean: 

Monitoring local Variables

HAlzo
Senior

Hello,

Is it possible to monitor local variables using STM32CubeMonitor?

1 ACCEPTED SOLUTION

Accepted Solutions
stephane.legargeant
ST Employee

Hello

It is not possible to monitor local variables because the variable address will be dynamic. STM32CubeMonitor need the address to read the variable.

Best regards

View solution in original post

3 REPLIES 3
stephane.legargeant
ST Employee

Hello

It is not possible to monitor local variables because the variable address will be dynamic. STM32CubeMonitor need the address to read the variable.

Best regards

Hello,

What about local static variables?

Hello

Local static variables are not managed by STM32CubeMonitor decoding. You can add some manually.

The question has been raised previously, please, see this post for details. https://community.st.com/s/question/0D50X0000CDmxvxSQB/parsing-dwarf-and-static-variables-declared-in-functions

Best regards

Stephane