• 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
Dumping NSManagedObject seems to truncate some values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Dumping NSManagedObject seems to truncate some values
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Disabling debug symbols for one source file (or function)?
  • Next by Date: Re: Dumping NSManagedObject seems to truncate some values
  • Previous by thread: Disabling debug symbols for one source file (or function)?
  • Next by thread: Re: Dumping NSManagedObject seems to truncate some values
  • Index(es):
    • Date
    • Thread