The trick is that you need to start the process from the command line, via
the -o "process launch" argument.

pl

On 10 March 2015 at 17:41, Greg Clayton <gclay...@apple.com> wrote:

> Works fine for me on Mac:
>
> % lldb a.out
> (lldb) target create "a.out"
> Current executable set to 'a.out' (x86_64).
> (lldb) process launch
> Process 22983 launched: '/private/tmp/a.out' (x86_64)
> carp
> Read: carp
> Process 22983 exited with status = 0 (0x00000000)
> (lldb)
>
> > On Mar 10, 2015, at 3:42 AM, Pavel Labath <lab...@google.com> wrote:
> >
> > std::cout << "Read: " << s << std::endl;
> >
> > }
> >
> >
>
>
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to