Skip to main content
Associate III
August 18, 2025
Question

CubeIDE variable windows show different contents for the same object

  • August 18, 2025
  • 1 reply
  • 647 views

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

TDK
Super User
August 18, 2025

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""."