Re: breaking on console output
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