[Lldb-commits] [lldb] [lldb-dap] assembly breakpoints (PR #139969)
via lldb-commits
lldb-commits at lists.llvm.org
Sat May 17 17:30:47 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 HEAD~1...HEAD lldb/test/API/tools/lldb-dap/breakpoint-assembly/TestDAP_breakpointAssembly.py lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py 2025-05-18 00:26:37.000000 +0000
+++ packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py 2025-05-18 00:30:17.199504 +0000
@@ -61,13 +61,15 @@
breakpoints = response["body"]["breakpoints"]
breakpoint_ids = []
for breakpoint in breakpoints:
breakpoint_ids.append("%i" % (breakpoint["id"]))
return breakpoint_ids
-
+
def set_source_breakpoints_assembly(self, source_reference, lines, data=None):
- response = self.dap_server.request_setBreakpointsAssembly(source_reference, lines, data)
+ response = self.dap_server.request_setBreakpointsAssembly(
+ source_reference, lines, data
+ )
if response is None:
return []
breakpoints = response["body"]["breakpoints"]
breakpoint_ids = []
for breakpoint in breakpoints:
``````````
</details>
https://github.com/llvm/llvm-project/pull/139969
More information about the lldb-commits
mailing list