ProDBG icon indicating copy to clipboard operation
ProDBG copied to clipboard

Show single variable in array with structs

Open emoon opened this issue 4 years ago • 0 comments

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

emoon avatar Oct 01 '20 08:10 emoon