Re: Debug: can't view global array
Re: Debug: can't view global array
- Subject: Re: Debug: can't view global array
- From: Bryan Pietrzak <email@hidden>
- Date: Wed, 10 Nov 2004 11:06:27 -0600
On Nov 10, 2004, at 10:10 AM, Ken Brooks wrote:
Newly updated to Xcode 1.5, these old problems are unchanged:
I have a global variable grid:
Cella grid[Size][Size];
where Cella is a C++ class, and Size is:
Macro: #define Size 18 /* max size (in cells) of maze */
Now, if in the Expressions window I enter grid, it says <unknown type>
and if I enter grid[1][1] it says "out of scope"
No idea if this is related to the problem or not, but... what kind of
app is this? Are you using Carbon? If so, "Size" is a typedef in
MacTypes.h and perhaps there's some kind of weird conflict going on. If
so, can you use #define kSize 18 instead?
Bryan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden