polyakov.alex added a comment.

In https://reviews.llvm.org/D46588#1103180, @aprantl wrote:

> My overall mental image of lldb-mi is very incomplete, but I'm imagining 
> lldb-mi as having one thread that wakes up every n milliseconds checks for 
> command input and then calls into the SBAPI to handle the commands. If that 
> is how it works, then one very simple thing we can try is to call 
> SBDebugger::SetAsync(false), thus forcing all the SBAPI calls to block until 
> completion.
>
> Alexander, can you see what happens to your lit test when you enable 
> synchronous mode in the SBAPI? Does it block now as expected, or does it 
> still finish early? If that experiment works, we could add a --async command 
> line option to lldb-mi to enable this behavior for running the test suite.


Where is the right place to call SBDebugger::SetAsync(true) to enable 
asynchronous mode?


Repository:
  rL LLVM

https://reviews.llvm.org/D46588



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to