viewing contents of dynamically allocated array

frank.schmischke Frank.Schmischke at t-online.de
Mon Oct 14 19:04:31 BST 2002


Am Montag, 14. Oktober 2002 17:48 schrieb christopher j bottaro:
> hello,
> i'm using kdevelop 2.1.3 and i was wondering if it was possible to do this.
> for instance, if i had something like:
> MyClass* x = new MyClass[10];
>
> when debugging, is there anyway to see all 10 elements of x?  as of now, i
> click the plus sign next to x and it just derefs the first element.
>
> thanks a bunch,
> christopher bottaro

You can add MyClass[1], MyClass[2] ... by hand (in field under variables), and 
you see every member of the array you want.

Frank



-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list