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

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


  • Follow-Ups:
    • Re: Dumping NSManagedObject seems to truncate some values
      • From: Jerry Krinock <email@hidden>
    • Re: Dumping NSManagedObject seems to truncate some values
      • From: Rick Mann <email@hidden>
    • Re: Dumping NSManagedObject seems to truncate some values
      • From: Rick Mann <email@hidden>
References: 
 >Dumping NSManagedObject seems to truncate some values (From: Rick Mann <email@hidden>)

  • Prev by Date: Dumping NSManagedObject seems to truncate some values
  • Next by Date: Re: Dumping NSManagedObject seems to truncate some values
  • Previous by thread: Dumping NSManagedObject seems to truncate some values
  • Next by thread: Re: Dumping NSManagedObject seems to truncate some values
  • Index(es):
    • Date
    • Thread