Debug or Release elf file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-29 12:07 PM
(Windows 10 x64, TrueStudio v9.1.0, STM32CubeMonitor v1.0.0)
Solved! Go to Solution.
- Labels:
-
STM32CubeMonitor
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-29 12:24 PM
Yes, think so. In STM32CubeIDE check Project > Properties > C/C++ build > Settings > Tool Settings / MCU GCC Compiler > Debug
The debug level defines the amount of debug information stored in the .elf. Release sets this to none, so variable names are unknown to STM32CubeMonitor.
Try changing this to -g3. Does that help?
For other IDEs/tool there are similar options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-29 12:09 PM
Sorry, (Partial question)
Dears,
In variables node / exe-config folder it is possible to select 'Release' folder and an elf file, but parsing has no effect to display variables list.
With elf in 'Debug' folder it is ok.
Is it normal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-29 12:24 PM
Yes, think so. In STM32CubeIDE check Project > Properties > C/C++ build > Settings > Tool Settings / MCU GCC Compiler > Debug
The debug level defines the amount of debug information stored in the .elf. Release sets this to none, so variable names are unknown to STM32CubeMonitor.
Try changing this to -g3. Does that help?
For other IDEs/tool there are similar options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-30 4:52 AM
Hello KnarfB,
It's working fine.
Thanks
Jean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-30 5:12 AM
Not sure if -g3 has implications on code optimization. It shouldn't, but if you observe performance issues, pls. double-check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-31 2:54 AM
Hello,
In TrueStudio there are 4 options (none, default -g, minimal -g1, maximun -g3)
Only '-g' et '-g3' lists variables in elf file.
Thanks for your help.
Jean
