================
@@ -76,26 +178,22 @@ def read_packet(f, verbose=False, trace_file=None):
         if verbose:
             print('length: "%u"' % (length))
         # Skip empty line
-        line = f.readline()
+        line = f.readline().decode()
         if verbose:
             print('empty: "%s"' % (line))
         # Read JSON bytes
         json_str = f.read(length)
         if verbose:
-            print('json: "%s"' % (json_str))
+            print('json: "%r"' % (json_str))
----------------
ashgti wrote:

Done.

https://github.com/llvm/llvm-project/pull/143818
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to