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

Enrico Granata egranata at apple.com
Wed Sep 25 17:47:48 PDT 2013


First of all the obvious
Have you checked that your breakpoint is getting hit at all?
For instance, did you manually run lldb, set the breakpoint, and then run, and watch LLDB actually stop there?
If not, it seems a worthy initial test

If that works, more repro steps might be necessary to figure this out.
What inferior are you using? What does your script do exactly? That kind of information

Enrico Granata
📩 egranata@.com
☎️ 27683

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130925/70b6e475/attachment.html>


More information about the lldb-dev mailing list