[lldb-dev] Question on SetAsync(False) Mode

jingham at apple.com jingham at apple.com
Wed Sep 25 17:47:04 PDT 2013


Can you send the example that isn't working, it's hard to reason about this in the abstract?

Jim

On Sep 25, 2013, at 5:34 PM, Yin Ma <yin at affinic.com> wrote:

> Hello,
> 
> What I want is to run a command and return to lldb only after
> This command finishes. This should be the behavior of 
> synchronous mode. So I called 
> debugger.SetAsync(False) 
> right after lldb starts. However, I never get what
> I expected. I set breakpoint and run. The process
> Never stops, it just shows process exited.
> 
> Based on the webpage, it says:
> When we step or continue, don't return from the function
> Until the process stops. 
> So, when process stops at breakpoints, it should return
> To lldb. Now it doesn't. 
> 
> Is this the right behavior? How I can get the behavior
> I want?
> 
> 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