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: email@hidden
- Date: Wed, 21 Apr 2004 12:32:30 -0500 (CDT)
Hi,
[snip]
> So what about the file descriptor for STDERR_FILENO?
I had seen this and it does explain the mechanism but not the reason for
why these streams were being set up properly before but they are not now.
There is a setting under the properties for the executable which specifies
whether it should be connected to a pty or not. It was set to pty and I
tried toggling it a little bit but that did not help. At this point I
noticed a demo app I had run under an instance of XCode that had died was
still in the dock, I killed it and now things are working fine. I would
hope that XCode would allocate ptys in such a way as to eliminate
conflicts but if not could it be that it was trying to allocate a pty that
was already in use and that was the root cause of my problems?
I wish I had run lsof on the thing before to check but alas...
Well if it shows up again I'll try to get some better info.
Thanks for the help,
-Eric
> respect...
>
> Peter
> On Apr 21, 2004, at 10:19, email@hidden wrote:
>
>> Howdy all,
>>
>> 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.
>>
>> Any ideas?
>> Thanks a bunch,
>> -Eric
>> _______________________________________________
>> 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.
> _______________________________________________
> 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.
_______________________________________________
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.