cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE variable windows show different contents for the same object

SteMMo
Associate III

Hi all,

STM32CubeIDE 1.19.0

I'm debugging the content of a memory area showing the bytes sequence of an uint8_t array.

The pointer shown in the Variables pane is correct.

different address.png

If I point the same variable (tmpParameters_Buffer) on Memory pane, the address (and of course, the content) is wrong - see the attached image.

Any idea?

Thanks, regards

1 REPLY 1
TDK
Super User

That's a variable on the stack, so its location will be different on each call. Might need to re-add it in the memory window each time the address changes.

If you feel a post has answered your question, please click "Accept as Solution".