Skip to main content
Senior II
Apr 8, 2025 2:28 PM UTC
Solved

What is required for live expression support

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.

This topic has been closed for replies.
Andrew Neil
Andrew NeilBest answer
Super User
Apr 8, 2025 2:50 PM UTC

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.

2 replies

Andrew Neil
Andrew NeilBest answer
Super User
Apr 8, 2025 2:50 PM UTC
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_GAuthor
Senior II
Apr 8, 2025 6:10 PM UTC

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