[Lldb-commits] [PATCH] D16736: Always write the session log file in UTF-8

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 29 17:26:56 PST 2016


zturner added a subscriber: zturner.
zturner added a comment.

Hmm, that almost looks to me like it's finding a real bug.  Which it
probably is, because higher up the callstack it's reading the response of a
memory send.  I'm guessing that the response includes non-printable
characters (raw memory data) that wasn't being written before but was being
silently ignored, and now it's giving an error.

Can you try passing errors='replace' to encoded_file.open()?  Then open the
log file and see what's in it.


http://reviews.llvm.org/D16736





More information about the lldb-commits mailing list