Re: NSLog won't go to run log window
Re: NSLog won't go to run log window
- Subject: Re: NSLog won't go to run log window
- From: Michael Cashwell <email@hidden>
- Date: Wed, 21 Apr 2004 11:35:43 -0400
On Apr 21, 2004, at 10:19 AM, email@hidden wrote:
I just fired up xcode after being away form it for a while and I cannot
seem to get NSLog to work the way I remember that it did. This may
just
be a case of operator error but NSLog output always goes to system.log
and
does not show up in the "Run log window" or in the "Console drawer" in
the
debugger. I tried creating a fresh project with a single button and a
call to NSLog to test things and it still only goes via the syslog
route.
It is kind of annoying to have to watch my debug messages via
console.app
since syslogd adds some delay and summarizes the results.
Hmm. And interesting possible permutation of something I saw a few
times. I was (ahem... still am when I have time) working on a kernel
module. Since it was a kext I was not using XCode's debugging
facilities so I can't comment on that but I did use IOLog() which I
think is like an in-kernel version of NSLog().
That output would usually go to both system.log and console.log. But
every now and then I'd get no output to console.log at all but it would
still appear in system.log. It was only mildly annoying so I ignored
it. I wonder if it's somehow related to Eric's problem.
-Mike
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.