Re: Dumping NSManagedObject seems to truncate some values
Re: Dumping NSManagedObject seems to truncate some values
- Subject: Re: Dumping NSManagedObject seems to truncate some values
- From: Fritz Anderson <email@hidden>
- Date: Thu, 13 Jun 2013 17:30:33 -0700
On 12 Jun 2013, at 7:43 PM, Rick Mann <email@hidden> wrote:
> file = "/Users/.../Documents/Jobs/2DCF5AA0-46AD-4150-A4A1-8786F7627F27/C49D460B-549D-4187-AEF3-02D7424E9113";
> uploadDate = nil;
> uuid = "C49D460B-549D-4187-AEF3-02D7424E9113";
> })
>
> Something appears to truncate the ".swl" filename extensions. But "po [myObj file]" works:
>
> (lldb) po [myObj file]
> $3 = 0x0d3653c0 /Users/.../Documents/Jobs/2DCF5AA0-46AD-4150-A4A1-8786F7627F27/C49D460B-549D-4187-AEF3-02D7424E9113.swl
>
> Is this just a bug in lldb, or -[NSManagedObject description]?
My bet is neither. In my experience, -[NSManagedObject description] truncates long text. The string you show is 99 characters long, a suspiciously round number. That the break fell at the path extension is a red herring.
— F
_______________________________________________
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