[llvm] [Dexter] Temporarily print DAP logs on specific exception (PR #157130)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 5 08:48:55 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 origin/main...HEAD cross-project-tests/debuginfo-tests/dexter/dex/debugger/DAP.py cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.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
--- DAP.py	2025-09-05 15:45:02.000000 +0000
+++ DAP.py	2025-09-05 15:48:27.199792 +0000
@@ -49,11 +49,11 @@
         self.indent = 2 if context.options.format_dap_log == "pretty" else None
         self.prefix_send: str = "->"
         self.prefix_recv: str = "<-"
         self.out_handle = None
         self.open = False
-        self.text = io.StringIO() # In-process copy of the message log.
+        self.text = io.StringIO()  # In-process copy of the message log.
         self.lock = threading.Lock()
 
     def _custom_enter(self):
         self.open = True
         if self.log_file is None:

``````````

</details>


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


More information about the llvm-commits mailing list