Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to show variables in hex #193

Open
hrw opened this issue Dec 8, 2023 · 3 comments
Open

Add a way to show variables in hex #193

hrw opened this issue Dec 8, 2023 · 3 comments
Assignees

Comments

@hrw
Copy link
Contributor

hrw commented Dec 8, 2023

Logger/Tracker are nice but "6871947673600" is less readable than 0x64000000000 value.

@hrw
Copy link
Contributor Author

hrw commented Dec 8, 2023

Any way to switch dec/hex in variable views. Arguments, Locals etc.

@epasveer epasveer self-assigned this Dec 8, 2023
@epasveer
Copy link
Owner

epasveer commented Dec 8, 2023

Yes, there might be. gdb has a global setting for all variables views. I think I can add a toggle somewhere/somehow.

Let me think on it.

@epasveer
Copy link
Owner

I saw a feature of gdb to "display" a variable using a specified type. Seer's "tracker" is similar to gdb's "display". I think it would be good to have "tracker" to have the same behavior. This likely means using the "mi" 'varobj' api to talk to gdb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants