• 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: CFShow truncated CFStrings in Leopard's Console.app (but not Xcode's debugger console)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFShow truncated CFStrings in Leopard's Console.app (but not Xcode's debugger console)


  • Subject: Re: CFShow truncated CFStrings in Leopard's Console.app (but not Xcode's debugger console)
  • From: Nick Beadman <email@hidden>
  • Date: Fri, 3 Apr 2009 11:27:01 -0700

Peter,

How interesting. Did you file a bug? If so can you let me know the radar number so I can reference it from mine.

The only downside I see in using NSLog over CFShow is NSLog is in Foundation, officially part of Cocoa. I think as it is part of Foundation then it is safe to use without calling NSApplicationLoad() and am having success without doing so.

I also wonder what the best way is to redirect NSLog to log to a file in addition to the console. The documentation talks about doing this but it isn't clear how this would be done.

Nick

On Apr 2, 2009, at 10:15 pm, Peter N Lewis wrote:

On 03/04/2009, at 2:00 , Nick Beadman wrote:
(three lines, not so good).

Really annoying, isn't it?

Thankfully, it is easily solved - NSLog does not have the same problem, so just change

CFShow( s )

to

NSLog( @"%@", (NSString*)s );


or just:

NSLog((NSString*)s);

_______________________________________________
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: CFShow truncated CFStrings in Leopard's Console.app (but not Xcode's debugger console)
      • From: Ken Thomases <email@hidden>
References: 
 >CFShow truncated CFStrings in Leopard's Console.app (but not Xcode's debugger console) (From: Nick Beadman <email@hidden>)
 >Re: CFShow truncated CFStrings in Leopard's Console.app (but not Xcode's debugger console) (From: Peter N Lewis <email@hidden>)

  • Prev by Date: Re: using object after being released. How to find which is ?
  • Next by Date: Re: CFShow truncated CFStrings in Leopard's Console.app (but not Xcode's debugger console)
  • Previous by thread: Re: CFShow truncated CFStrings in Leopard's Console.app (but not Xcode's debugger console)
  • Next by thread: Re: CFShow truncated CFStrings in Leopard's Console.app (but not Xcode's debugger console)
  • Index(es):
    • Date
    • Thread