Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

viewing dynamic arrays in VS debugger?

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?

Name: Anonymous 2006-10-29 1:00

>>2


only a noob would think there's such thing as bugless code

gb2/compsci 101

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List