What if you try traceback.print_exception()?  Does it work?  Maybe it's
smart enough to detect whether it needs to encode the traceback before
printing.

On Thu, Jan 28, 2016 at 9:13 AM Tamas Berghammer <tbergham...@google.com>
wrote:

> tberghammer added a comment.
>
> I converted the strings it was complaining about but I haven't managed to
> get the traceback printing working without converting the data to utf-8
> manually. We are using traceback.format_exception to collect the stack
> trace what returns a string, then we store it in a variable and print it
> later.
>
>
> http://reviews.llvm.org/D16680
>
>
>
>
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to