Re: Unit testing - printf and gdb
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