• 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: data formatter running before object is allocated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: data formatter running before object is allocated


  • Subject: Re: data formatter running before object is allocated
  • From: Steve Christensen <email@hidden>
  • Date: Fri, 10 Jan 2014 17:26:33 -0800

On Jan 10, 2014, at 3:09 PM, Steve Mills <email@hidden> wrote:

> On Jan 10, 2014, at 13:27:19, Steve Christensen <email@hidden> wrote:
>
>> Do you have your debug variables area set to display All, Local or Auto? If not Auto then Xcode will display all the variables, initialized or not.
>
> It's usually set to Local or All. Xcode should be smart enough to not run formatters on variables that haven't come into being yet. Like how does it deal with other types, like CFStringRef that hasn't been allocated yet?

Just guessing but it may be doing something like calling an object’s -description/-debugDescription (or CF equivalents) and handling exceptions by displaying the object’s address instead.

And as for “should”, you could always file a bug. :)


 _______________________________________________
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


References: 
 >data formatter running before object is allocated (From: Steve Mills <email@hidden>)
 >Re: data formatter running before object is allocated (From: Steve Christensen <email@hidden>)
 >Re: data formatter running before object is allocated (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: data formatter running before object is allocated
  • Next by Date: Re: IB Autolayout Shortcut?
  • Previous by thread: Re: data formatter running before object is allocated
  • Next by thread: IB Autolayout Shortcut?
  • Index(es):
    • Date
    • Thread