• 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 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

  • Follow-Ups:
    • Re: where are the results of calls to printf, fprintf shown?
      • From: Conrad Shultz <email@hidden>
References: 
 >where are the results of calls to printf, fprintf shown? (From: Boyd Collier <email@hidden>)
 >Re: where are the results of calls to printf, fprintf shown? (From: Joar Wingfors <email@hidden>)
 >Re: where are the results of calls to printf, fprintf shown? (From: Boyd Collier <email@hidden>)

  • Prev by Date: Re: App won't run with entitlements on
  • Next by Date: Re: where are the results of calls to printf, fprintf shown?
  • Previous by thread: Re: 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