forked from qt-creator/qt-creator
Before this change I was seeing all strings as `<failed to decode '...' as 'utf16'>` when using LLDB bundled with CLion. This error is misleading since the actual exception raised from the python code was `'str' object has no attribute 'decode'`. To fix this, I updated the hexdecode() method on Dumper to accept an optional encoding argument and use that instead of the python2 str.decode(). Change-Id: Ic3afc786c42fd7384d9dc3117f0871837076c2ba Reviewed-by: hjk <hjk@qt.io>
100 KiB
100 KiB