• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bug in Debugger?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Bug in Debugger?
      • From: "McLaughlin, Michael P." <email@hidden>
References: 
 >Bug in Debugger? (From: "McLaughlin, Michael P." <email@hidden>)

  • Prev by Date: Re: re need way to debug tool called by popen--at startup
  • Next by Date: Re: re need way to debug tool called by popen--at startup
  • Previous by thread: Re: Bug in Debugger?
  • Next by thread: Re: Bug in Debugger?
  • Index(es):
    • Date
    • Thread