• 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
Re: where are the results of calls to printf, fprintf shown?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: where are the results of calls to printf, fprintf shown?


  • Subject: Re: where are the results of calls to printf, fprintf shown?
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 28 Dec 2011 12:06:50 -0800


On Dec 28, 2011, at 11:52 AM, Boyd Collier wrote:

The result of the call to NSLog shows up in the Console window, but nothing is shown there for calls to printf or fprintf or anything else in the various permutations that I could think of from this suite of functions.

All regular output to stout or stderr, from printf or any related function, shows up in the same console too. I have no idea why it wouldn't be showing up for you. What type of target did you create in your project?

The only glitch I can think of is that, since NSLog writes to stderr not stout, and stderr isn't buffered, you can end up with console output not in chronological order if you use both NSLog and printf. But everything should still appear.

—Jens
 _______________________________________________
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: where are the results of calls to printf, fprintf shown?
      • From: Boyd Collier <email@hidden>
References: 
 >where are the results of calls to printf, fprintf shown? (From: Boyd Collier <email@hidden>)

  • Prev by Date: where are the results of calls to printf, fprintf shown?
  • Next by Date: App won't run with entitlements on
  • Previous by thread: where are the results of calls to printf, fprintf shown?
  • Next by thread: Re: where are the results of calls to printf, fprintf shown?
  • Index(es):
    • Date
    • Thread