• 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: breaking on console output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: breaking on console output


  • Subject: Re: breaking on console output
  • From: Jonas Maebe <email@hidden>
  • Date: Fri, 14 Sep 2012 16:19:01 +0200


Steve Mills wrote on Fri, 14 Sep 2012:

Ah, thanks. I'm glad I can use Xcode for this. Sadly, it's not NSLog that's spitting out this message. I also tried printf and fprintf. Is there something at an even lower level that these types of calls might go through?

write

That one is used for most kinds of output though (including to disk). You may want to make the breakpoint conditional on either (untested, but should check the first parameter for matching stdout or stderr -- or stdin, but that doesn't matter)
- i386: *(int*)($esp+4) <= 2
- x86-64: $rdi <= 2


Jonas
_______________________________________________
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

References: 
 >breaking on console output (From: Steve Mills <email@hidden>)
 >Re: breaking on console output (From: Jens Alfke <email@hidden>)
 >Re: breaking on console output (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: breaking on console output
  • Next by Date: Re: breaking on console output
  • Previous by thread: Re: breaking on console output
  • Next by thread: Re: breaking on console output
  • Index(es):
    • Date
    • Thread