clayborg added a comment.

--stop-at-entry only really works for Darwin since its posix_spawn has a flag 
that will stop it at the entry point before anything executes. On linux, does 
this flag do anything?



================
Comment at: 
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py:355
             'br s -f main.c -l %d' % second_line,
-            'run'
+            'process launch --stop-at-entry'
         ]
----------------
This can probably still be racy on linux since I believe --stop-at-entry will 
launch the process and stop it as soon as possible (unlike a real posix_spawn 
flag on Darwin...). I wonder if we did a python call like:
```
script lldb.target.Launch(...)
```
As I believe the python interpreter is synchronous by default?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70127



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

Reply via email to