Name: Anonymous 2006-10-28 21:46
Is there a way to view dynamically-allocated arrays in Visual Studio 2003's debugger? It's only showing the very first element because it doesn't "know" it's a dynamic array:
// class Foobar has elements int a, int b, and int c
Foobar* poop = new Foobar[50];
... (Poop[i].a, .b, and .c get modified etc...)
Breakpoint here --> and I want to view the whole poop array in the debugger, not just the first element. Is there a way to get the debugger to do this? If not, are there any other debuggers out there that can?
// class Foobar has elements int a, int b, and int c
Foobar* poop = new Foobar[50];
... (Poop[i].a, .b, and .c get modified etc...)
Breakpoint here --> and I want to view the whole poop array in the debugger, not just the first element. Is there a way to get the debugger to do this? If not, are there any other debuggers out there that can?