Viewing array of pointers to structures in Visual Studio in the debugger
I'm having a problem displaying the contents of a pointer array with its contents in the debugger. If I just add the pointer to the watch only the fist entry is visible. But if I add the length to it the debugger assumes that I have something like array[length][length]
.
Picture
The 开发者_开发知识库first entry is the broken one, looks the same with ,2
or with any ,2 x
. The second one is what I would like to see, but for more entries.
Edit: The two entries displayed as [x][1]
are invalid.
I'm using VS 2005 but I think I had this problem on 2008 as well.
Is this a bug or am I doing something wrong?
精彩评论