Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Show single variable in array with structs #350

@emoon

Description

@emoon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions