[Lldb-commits] [lldb] [lldb] Add SBThread.selected_frame property (PR #123981)

via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 22 10:43:19 PST 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 ec15b242505a46ea7d195a6520fb869a80a2cd10...3929895879a226bf8f0e407fead4524597a429af lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py lldb/test/API/lang/cpp/std-function-recognizer/TestStdFunctionRecognizer.py lldb/test/API/lang/objc/print-obj/TestPrintObj.py
``````````

</details>

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

``````````diff
--- lang/objc/print-obj/TestPrintObj.py	2025-01-22 18:39:47.000000 +0000
+++ lang/objc/print-obj/TestPrintObj.py	2025-01-22 18:42:50.579312 +0000
@@ -68,11 +68,11 @@
 
         # We want to traverse the frame to the one corresponding to blocked.m to
         # issue our 'po lock_me' command.
 
         for frame in other_thread.frames:
-           if frame.name == "main":
+            if frame.name == "main":
                 other_thread.selected_frame = frame
                 if self.TraceOn():
                     print("selected frame:" + lldbutil.get_description(frame))
                 break
 

``````````

</details>


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


More information about the lldb-commits mailing list