cancel
Showing results for 
Search instead for 
Did you mean: 

What is required for live expression support

Carl_G
Senior

I am trying to use live expression on an STM32G0 with an Stlink V3minnie. It's not allowing me to read any variable even once. I read that the variables need to be global. Is this true? Does this mean class variables also will not be supported but only static variables?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

It does, indeed, say global variables:

AndrewNeil_0-1744123790425.png

https://www.st.com/resource/en/user_manual/um2609-stm32cubeide-user-guide-stmicroelectronics.pdf#page=175

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

View solution in original post

2 REPLIES 2

It does, indeed, say global variables:

AndrewNeil_0-1744123790425.png

https://www.st.com/resource/en/user_manual/um2609-stm32cubeide-user-guide-stmicroelectronics.pdf#page=175

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Carl_G
Senior

That worked. Even class static doesn't work but full static variables do.