Re: Bug in Debugger?
Re: Bug in Debugger?
- Subject: Re: Bug in Debugger?
- From: Chris Espinosa <email@hidden>
- Date: Thu, 30 Apr 2009 12:02:50 -0700
On Apr 30, 2009, at 7:55 AM, McLaughlin, Michael P. wrote:
*** Using latest Xcode for a Cocoa document project ***
In a header, I define
enum {Lat1, Lon0, Lat0, Lon1}; // same as Rect, PostScript
orientation
In a class header, I have
float dispBoundaries[4];
In a source file, I have (just as a check)
dispBoundaries[Lat0] = Lat0;
This code actually works as intended, i.e. dispBoundaries[2] <-- 2.
However, the Debugger window shows that it is the *last* (index = 3)
element
of dispBoundaries[] that changes.
This error is perfectly repeatable.
Am I missing something here or is this a real bug?
What result are you expecting when you assign an enumerated (integral)
value to a float in an array?
Chris
_______________________________________________
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