Re: where are the results of calls to printf, fprintf shown?
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