Dumping NSManagedObject seems to truncate some values
Dumping NSManagedObject seems to truncate some values
- Subject: Dumping NSManagedObject seems to truncate some values
- From: Rick Mann <email@hidden>
- Date: Wed, 12 Jun 2013 19:43:18 -0700
I've got a model object that has an NSString* file (copy) property. I assign it from an NSURL.path, with a value like:
"/Users/.../Documents/Jobs/2DCF5AA0-46AD-4150-A4A1-8786F7627F27/C49D460B-549D-4187-AEF3-02D7424E9113.swl"
Right after that, if I do "po myObj" in the debugger (Xcode 4.6.2), I see something like this:
(lldb) po myObj
$1 = 0x0d364560 <Sweep: 0xd364560> (entity: Sweep; id: 0xd3583f0 <x-coredata:///MyObj/t6A271877-BABB-4E23-AE56-400B626F91DF2> ; data: {
center = "(...not nil..)";
centerShadow = nil;
createDate = "2013-06-13 02:37:13 +0000";
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]?
--
Rick
_______________________________________________
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