Is it possible to copy as text array value in Visual Studio debugger until specified level of nesting?

54 Views Asked by At

I have a C++ array with about 1300 elements in it, each element is a structure with a nested structure that contains id as integer. I wanted to find possible duplicates of specific ids with a simple text editor in a form of textual data. When I'm copying the array item itself, it doesn't copy its children as well, just a minimal info for the array itself shown by NatVis, if I select array alongside with its values, it still doesn't copy needed info because id field is nested one level deeper in a structure. The only way I could reach desired field is to expand array's item value and copy that but expanding ~1300 elements each one by one is so time consuming and there's seemingly no way to do it in a bulk fashion. May be there's some command in debugger to copy array value as text, e.g. 3 levels deep?

0

There are 0 best solutions below