Skip to main content
Graduate
May 8, 2020
Solved

Monitoring local Variables

  • May 8, 2020
  • 1 reply
  • 1102 views

Hello,

Is it possible to monitor local variables using STM32CubeMonitor?

    This topic has been closed for replies.
    Best answer by stephane.legargeant

    Hello

    It is not possible to monitor local variables because the variable address will be dynamic. STM32CubeMonitor need the address to read the variable.

    Best regards

    1 reply

    ST Employee
    May 11, 2020

    Hello

    It is not possible to monitor local variables because the variable address will be dynamic. STM32CubeMonitor need the address to read the variable.

    Best regards

    HAlzoAuthor
    Graduate
    May 11, 2020

    Hello,

    What about local static variables?

    ST Employee
    May 11, 2020

    Hello

    Local static variables are not managed by STM32CubeMonitor decoding. You can add some manually.

    The question has been raised previously, please, see this post for details. https://community.st.com/s/question/0D50X0000CDmxvxSQB/parsing-dwarf-and-static-variables-declared-in-functions

    Best regards

    Stephane