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 23:51:26 -0800
On Dec 28, 2011, at 9:34 PM, Boyd Collier wrote: I finally figured it out, and (as usual), it's rather simple. One must check Show debugger with Console View in Xcode preferences Behaviors.
Actually it's easier to switch the debugger views using the 3-way control at its top right (next to the Clear button). They switch between variables only, console only, or both. Behaviors just lets you control which views are shown automatically when the debugger appears. What confused me is that I presumed that I could simply look at all of the messages in the Console window and see the results of printf, just as I can see the results of a call to NSLog.
I … don't understand. Where else does NSLog output show up? The debugger has two panes; one listing variables, and the other the console that shows output (and lets you enter debugger commands.) The output shown in the console is everything, both NSLog and normal printf.
I guess in the Log navigator you can look at "Debug [Target]" output. But I see all kinds of output there too.
—Jens |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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