开发者

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

Viewing array of pointers to structures in Visual Studio in the debugger

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜