Re: Xcode debug follow fork
Re: Xcode debug follow fork
- Subject: Re: Xcode debug follow fork
- From: "Dee Ayy" <email@hidden>
- Date: Fri, 14 Nov 2008 14:52:11 -0600
On Thu, Nov 13, 2008 at 11:54 PM, Greg Guerin <email@hidden> wrote:
> Dee Ayy wrote:
>
>> I run my_app built in Xcode by invoking as follows from the terminal
>> (Terminal.app):
>> cat my_pipe | ./my_app
>
> Is there a reason for using a pipe and a cat?
>
> Unless I'm missing something, that's nearly equivalent to:
> ./my_app <my_pipe
>
> The latter would not require any debug follow fork magic.
Your suggestion looks fine to me. I'll try it when I get home.
> Stupid cat tricks:
> grep xyzzy foo
> cat foo | grep xyzzy
> cat foo | cat | grep xyzzy
> cat foo | cat | cat | grep xyzzy
> cat foo | cat | tee /dev/null | cat | grep xyzzy
>
> -- GG
However, sometimes I invoke as follows:
cat my_pipe | ./my_app | tee my_log
Can you show me a stupid cat trick to do that with
./my_app <my_pipe
Thanks.
_______________________________________________
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