[Lldb-commits] [lldb] [lldb-dap] Log the adapter's stdio during cleanup (PR #208432)

Sergei Druzhkov via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 9 06:11:08 PDT 2026


================
@@ -153,6 +153,13 @@ def create_debug_adapter(
         def cleanup_adapter():
             if adapter.is_alive:
                 adapter.kill()
+            # The debug adapter may have a reason the test failed.
----------------
DrSergei wrote:

As far as I understand this function is called every time, so can we use process exit code to determine test failed or not? We use `subprocess` library for process creation , so we can check `returncode` property

https://github.com/llvm/llvm-project/pull/208432


More information about the lldb-commits mailing list