[Lldb-commits] [lldb] Make breakpoint stop reason more accurate for function breakpoints (PR #130841)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 17 09:38:22 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 a6463f41135d7d96e92cefeeffa84d0955f934f9...23a710ff81fbd9ab9d5c96b086d96b9300567625 lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py lldb/test/API/tools/lldb-dap/databreakpoint/TestDAP_setDataBreakpoints.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- test/API/tools/lldb-dap/databreakpoint/TestDAP_setDataBreakpoints.py 2025-03-16 06:22:41.000000 +0000
+++ test/API/tools/lldb-dap/databreakpoint/TestDAP_setDataBreakpoints.py 2025-03-17 16:37:48.719841 +0000
@@ -182,11 +182,11 @@
source = "main.cpp"
first_loop_break_line = line_number(source, "// first loop breakpoint")
self.set_source_breakpoints(source, [first_loop_break_line])
self.continue_to_next_stop()
self.dap_server.get_local_variables()
- # Test write watchpoints on x
+ # Test write watchpoints on x
response_x = self.dap_server.request_dataBreakpointInfo(1, "x")
# Test response from dataBreakpointInfo request.
self.assertEqual(response_x["body"]["dataId"].split("/")[1], "4")
self.assertEqual(response_x["body"]["accessTypes"], self.accessTypes)
dataBreakpoints = [
``````````
</details>
https://github.com/llvm/llvm-project/pull/130841
More information about the lldb-commits
mailing list