Re: data formatter running before object is allocated
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