[Lldb-commits] [lldb] [llvm] [lldb-dap] Add multi-session support with shared debugger instances (PR #163653)

via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 17 00:30:16 PDT 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r origin/main...HEAD lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- test/API/tools/lldb-dap/attach/TestDAP_attach.py	2025-10-17 07:27:16.000000 +0000
+++ test/API/tools/lldb-dap/attach/TestDAP_attach.py	2025-10-17 07:29:46.599238 +0000
@@ -80,8 +80,6 @@
         """
         self.build_and_create_debug_adapter()
 
         resp = self.attach(targetId=99999, expectFailure=True)
         self.assertFalse(resp["success"])
-        self.assertIn(
-            "Unable to find existing target", resp["body"]["error"]["format"]
-        )
+        self.assertIn("Unable to find existing target", resp["body"]["error"]["format"])

``````````

</details>


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


More information about the lldb-commits mailing list