• 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: Unit testing - printf and gdb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unit testing - printf and gdb


  • Subject: Re: Unit testing - printf and gdb
  • From: Fritz Anderson <email@hidden>
  • Date: Tue, 10 Jun 2008 09:49:20 -0500

On 10 Jun 2008, at 6:51 AM, Dan Uff wrote:

Instead of using 'printf' try:

NSLog ("print anything");

or

NSLog variable;

I am unaware of a version of NSLog() that takes C strings (I only know of one that takes an NSString format and varargs to substitute into it). Nor am I aware of an NSLog C++ class. The Apple documentation mentions only the Cocoa function.


Possibly these are extensions of your own? (I'd lecture on intentionally crashing the NS… name space, if I were the lecturing kind.)

	— 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


References: 
 >Unit testing - printf and gdb (From: Alan Shouls <email@hidden>)
 >Re: Unit testing - printf and gdb (From: Dan Uff <email@hidden>)

  • Prev by Date: Re: Unit testing - printf and gdb
  • Next by Date: Re: Unit testing - printf and gdb
  • Previous by thread: Re: Unit testing - printf and gdb
  • Next by thread: Re: Unit testing - printf and gdb
  • Index(es):
    • Date
    • Thread