[Lldb-commits] [lldb] [lldb-dap] Refactoring DebugCommunication to improve test consistency. (PR #143818)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 16 07:19:04 PDT 2025


================
@@ -71,31 +173,27 @@ def read_packet(f, verbose=False, trace_file=None):
     if line.startswith(prefix):
         # Decode length of JSON bytes
         if verbose:
-            print('content: "%s"' % (line))
+            print(f"content: {line}")
----------------
da-viper wrote:

i don't think is prints to anywhere since we are in test. we could remove the verbose option completely as no function is using it.

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


More information about the lldb-commits mailing list