[lldb-dev] Different Behavior between Terminal and GUI simulated terminal

Yin Ma yin at affinic.com
Fri Oct 4 09:07:36 PDT 2013


Hi Jim,

I double checked that there is only one lldb launched for sure.
I did ps -ax | grep lldb, there is only one process listed.

Thanks,

Yin 

-----Original Message-----
From: jingham at apple.com [mailto:jingham at apple.com] 
Sent: Friday, October 04, 2013 8:41 AM
To: Yin Ma
Cc: lldb-dev at cs.uiuc.edu
Subject: Re: [lldb-dev] Different Behavior between Terminal and GUI simulated terminal

Did you launch the two processes in the same way in both cases?  It looks like in the first instance lldb is running synchronously, and in the second instance asynchronously.  I sent a note to the list a couple of days ago describing when lldb uses the two modes, check that and see if it explains what you are seeing.  Otherwise, this may be some bug in the input driver?

Jim

On Oct 3, 2013, at 11:30 PM, Yin Ma <yin at affinic.com> wrote:

> Hi,
>  
> I got different behavior between run lldb under regular terminal
> And GUI simulated terminal (posix_openpt or pipe based).
>  
> In the regular terminal:
> (lldb) run
> Process 10992 launched: ‘…’
> Process 10992 stopped
>  Thread …
>  
> In the GUI, If I run the same thing, I got
> (lldb) run
> Process 10992 launched: ‘…’
> (lldb) Process 10992 stopped
>  Thread …
>  
> There already is (lldb) after the first line.
>  
> My lldb is 179.5
> Could anybody let me know why there is this difference?
> And How to switch to the regular mode?
>  
> Thanks,
>  
> Yin
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev





More information about the lldb-dev mailing list