[Lldb-commits] [lldb] [lldb-dap] Add missing supportsSingleThreadExecutionRequests in capabilities (PR #200314)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 1 12:55:07 PDT 2026


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/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py lldb/test/API/tools/lldb-dap/step/TestDAP_step.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/step/TestDAP_step.py	2026-06-01 19:41:24.000000 +0000
+++ test/API/tools/lldb-dap/step/TestDAP_step.py	2026-06-01 19:54:34.131881 +0000
@@ -115,19 +115,15 @@
                     (src2, line2) = self.get_source_and_line(threadId=tid)
                     self.assertEqual(x1, x2 + 1, "verify step in variable")
 
                     # Now step out with singleThread and verify we
                     # return to the caller frame.
-                    self.stepOut(
-                        threadId=tid, waitForStop=True, singleThread=True
-                    )
+                    self.stepOut(threadId=tid, waitForStop=True, singleThread=True)
                     x3 = self.get_local_as_int("x", threadId=tid)
                     (src3, line3) = self.get_source_and_line(threadId=tid)
                     self.assertEqual(x1, x3, "verify step out variable")
-                    self.assertGreaterEqual(
-                        line3, line1, "verify step out line"
-                    )
+                    self.assertGreaterEqual(line3, line1, "verify step out line")
                     self.assertEqual(src1, src3, "verify step out source")
                     break
 
     def test_step_over_inlined_function(self):
         """

``````````

</details>


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


More information about the lldb-commits mailing list