Exceptions thrown when writing to stderr when running under Xcode 2.5
Exceptions thrown when writing to stderr when running under Xcode 2.5
- Subject: Exceptions thrown when writing to stderr when running under Xcode 2.5
- From: "Martin Redington" <email@hidden>
- Date: Mon, 28 Apr 2008 14:09:53 +0100
I'm seeing some exceptions when trying to write to stderr when running
under Xcode 2.5
My logging kit writes to a log file normally, or to stderr if a
particular environment variable is set, so that I can watch the output
in Xcode's run log.
NSFileHandle *fileHandle = [NSFileHandle fileHandleWithStandardError];
[fileHandle writeData:theData];
is throwing the following exception
Exception: *** -[NSConcreteFileHandle writeData:]: Input/output error
The first few messages seem to work ok, but later messages all seem to fail.
NSLog works, printing messages to Console.app's "Console Messages",
not to the Run Log
I thought I'd seen a thread on an issue like this somewhere, but
Google can't seem to locate it now. Can anyone point me in the right
direction?
cheers,
Martin
--
http://www.mildmanneredindustries.com/
_______________________________________________
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