ilya-nozhkin added a comment.

In D119548#3321376 <https://reviews.llvm.org/D119548#3321376>, @clayborg wrote:

> FYI: I have a patch coming up that will add the ability to not have to play 
> with the async mode when launching or attaching. I will try and post that 
> diff here, it should be up today.
>
> We were running into a race condition when we used "launchCommands" or 
> "attachCommands" as they are not executed in sync mode, so we ended up 
> getting events before the IDE was ready. I am adding code to wait for the 
> process to stop (we always stop at entry when launching via lldb-vscode) 
> after the "launchCommands" or "attachCommands", and we might be able to get 
> rid of the setting of async mode before and after launch.

Oh, that's great to hear! It will probably solve this race condition on stop 
hooks as well.
Then, I think, I'd rather wait for your changes and run my test case against 
them.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119548/new/

https://reviews.llvm.org/D119548

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

Reply via email to