Re: XCode3 & NSLog & Tiger compatibility
Re: XCode3 & NSLog & Tiger compatibility
- Subject: Re: XCode3 & NSLog & Tiger compatibility
- From: Jean-Daniel Dupas <email@hidden>
- Date: Sat, 15 Mar 2008 20:05:39 +0100
Le 15 mars 08 à 19:08, Steve Cronin a écrit :
Folks;
I've finally begun to use XCode3 and I know I need to learn my way
around the new world.
I have an existing Tiger project that I will be shipping under Tiger
but I need to ensure Leopard compatibility.
So I can't convert it to the new world - I just need to be able to
run/debug it.
So immediately I run into the changes to Run log -> Console.
OK - I try and understand what's going on but I can't seem to find
anything useful which explains:
If you have line of Tiger Code:
NSLog(@"Hello World");
Where does this output appear in XCode3?
I can see it sometimes in the Console.app but not reliably...
(I have setup a database query for my 'Sender'.)
I can see it sometimes in the Console log in XCode but not reliably..
I can't change the statements to ASL based statements per above..
How can I best use XCode3 to accomplish this mission?
Thanks!
Steve
NSLog send output to the Xcode Console (Run>Console) if the
application is launch within Xcode.
And it also send a line (using ASL) in the system logs (that you can
show in Console.app) even when launched from Xcode.
So, if you launch your app in Xcode: log in Xcode Console + system logs.
Else, log only in system logs.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden