[lldb] [llvm] [lldb-dap] Add unknown request handler (PR #181109)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 12 01:29:28 PST 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/test/API/tools/lldb-dap/launch/TestDAP_launch_unknown_request.py lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.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/launch/TestDAP_launch_unknown_request.py 2026-02-12 09:24:58.000000 +0000
+++ test/API/tools/lldb-dap/launch/TestDAP_launch_unknown_request.py 2026-02-12 09:28:58.010855 +0000
@@ -15,11 +15,11 @@
bugnumber="https://github.com/llvm/llvm-project/issues/137599"
)
def test(self):
program = self.getBuildArtifact("a.out")
self.build_and_launch(program)
-
+
response = self.dap_server.request_unknown()
self.assertFalse(response["success"])
self.assertEqual(response["body"]["error"]["format"], "Unknown request")
self.continue_to_exit()
``````````
</details>
https://github.com/llvm/llvm-project/pull/181109
More information about the llvm-commits
mailing list