cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMonitor does not show the self-defined variables

Roman REITER
Associate III

I have integrated the .elf file in the STM32CubeMonitor, but it does not show me the self-defined variables. I tried different variables like

 volatile uint32_t a = 3;

 volatile uint8_t b = 3;

 int c = 3;

Does someone have an idea what i did wrong?!

1 ACCEPTED SOLUTION

Accepted Solutions
Richard.Chvr
ST Employee

Hello @Roman REITER​ 

Only global static variables are displayed in the list.

You can check their availability in the symbol file.

Note that unused variable will not be displayed as compiler removes them for optimization reason.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Richard.Chvr
ST Employee

Hello @Roman REITER​ 

Only global static variables are displayed in the list.

You can check their availability in the symbol file.

Note that unused variable will not be displayed as compiler removes them for optimization reason.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.