• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Exceptions thrown when writing to stderr when running under Xcode 2.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Exceptions thrown when writing to stderr when running under Xcode 2.5
      • From: David Dunham <email@hidden>
  • Prev by Date: Re: Debugger doesn't stop (most of the time)
  • Next by Date: Re: Behaviour for key binding for jumping to the next warning/error
  • Previous by thread: Re: Behaviour for key binding for jumping to the next warning/error
  • Next by thread: Re: Exceptions thrown when writing to stderr when running under Xcode 2.5
  • Index(es):
    • Date
    • Thread