[Lldb-commits] [lldb] Fix non-deterministic failure in ```TestDAP_attach.py``` and improve error message handling in ```lldbdap_testcase.py``` (PR #154632)

Walter Erquinigo via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 21 08:39:22 PDT 2025


================
@@ -227,3 +228,46 @@ def test_terminate_commands(self):
             pattern=terminateCommands[0],
         )
         self.verify_commands("terminateCommands", output, terminateCommands)
+
+    def test_session_id_update(self):
+        program = self.build_and_create_debug_adapter_for_attach()
+        self.process = subprocess.Popen(
+            [program],
+            stdin=subprocess.PIPE,
+            stdout=subprocess.PIPE,
+            stderr=subprocess.PIPE,
+        )
+
+        postRunCommands = [
----------------
walter-erquinigo wrote:

for the sake of readability, can you add a comment here about the env var VSCODE_DEBUG_SESSION_ID and how you are using it here?

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


More information about the lldb-commits mailing list