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

Show single variable in array with structs #350

Open
emoon opened this issue Oct 1, 2020 · 0 comments
Open

Show single variable in array with structs #350

emoon opened this issue Oct 1, 2020 · 0 comments

Comments

@emoon
Copy link
Owner

emoon commented Oct 1, 2020

From datgame on Slack

Often i want to expand an array of 100 structs to inspect 1 specific member in each instance.
msvs is helpful in previewing a few members without expanding each array element, and if i move the member i'm interested to the top of the struct definition and recompile, maybe i get to see what i want without doing 100 -> clicks.
got any other tricks for msvs i can use, besides writing a natvis? (maybe it's not hard and i should do that as a solution more often)

Suggested syntax would be something like this

data_pointer,100,struct_name.some_other_struct.variable_name

This would show struct_name.some_other_struct.variable_name for 100 entries of the data in data_pointer

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

1 participant