Monitoring local Variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-08 8:41 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-11 12:01 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-11 12:01 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-11 1:09 AM
Hello,
What about local static variables?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-11 1:28 AM
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
