more on "data variables" and debugging
more on "data variables" and debugging
- Subject: more on "data variables" and debugging
- From: Markian Hlynka <email@hidden>
- Date: Tue, 15 Mar 2005 14:46:44 -0700
To further my question, I have a file, killer.cc. it contains:
Killer_T KillerArray[MAXDEPTH][NumKiller];
As a global within that file. The killer.h file contains:
extern Killer_T KillerArray[MAXDEPTH][NumKiller];
so that this variable can be seen by files that use killer.h
The problem, I'm guessing, has to do with the [][] declaration. I can do
p (Killer_T)KillerArray
in gdb, or in the Expressions window. However, I can't quite grok the syntax I'd need to see, for example
KillerArray[2][3]
or
KillerArray[2][3].count
Ideally, I'd like to be able to see KillerArray with a little disclosure arrow like other multi-dimensional arrays. But, if necessary viewing pieces would be sufficient.
Thanks,
Markian _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden