klonyyy / STMViewer

Real-time STM32 variable & trace viewer
GNU General Public License v3.0
536 stars 59 forks source link

Problem Updating Variable #29

Closed Amitkor12 closed 5 months ago

Amitkor12 commented 5 months ago

Hello, I want to express my gratitude for creating such a fantastic application that proves to be highly useful for robotics. I have downloaded the application and carefully followed the instructions, but I encountered an issue where the variables do not get updated, and the addresses are not displayed as expected. I would appreciate any suggestions, hints, or insights you could provide regarding the issue I'm facing with.

Thank You.

klonyyy commented 5 months ago

Hello, could you please provide more details? For example a project file and the *.elf file you're trying to parse. I'll try to reproduce the problem locally. Please make sure the GDB version is correct as well (#28)

Amitkor12 commented 5 months ago

firmware.zip This is the elf file i am using. The gdb version is also update to latest version 14.1

klonyyy commented 5 months ago

I seems to work fine on my end: image

Are there any particular variables you have troubles importing? Please make sure your path does not contain any spaces (#28)

Amitkor12 commented 5 months ago

Thanks for the help. First i tried this on windows 11. Here i did not get any response in updating variables , but with the same file on linux i was able to update the variables. Screenshot from 2024-02-01 12-35-53 this is on linux ubuntu 20.04 lts.

klonyyy commented 5 months ago

This is strange, as my screenshot is from Windows 10. If you've got some spare time you can check for the spaces in your *.elf path. I'm curious if it's a bug.

Amitkor12 commented 5 months ago

I checked the path of the *.elf file, and indeed, there was a space between the names. Now, after the correction, it works fine. Thanks for your support.