diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-07-23 13:02:02 +0100 |
---|---|---|
committer | Alex Richardson <arichardson.kde@gmail.com> | 2021-08-16 09:34:28 +0000 |
commit | ebc229a25b6ae6cde2bb1c28e8e3fdfd7ab1670e (patch) | |
tree | 3ba97b5cd6d710cdeae3edade2142d8443619a9f /src/plugins/cpptools/cpprefactoringchanges.cpp | |
parent | ab606faad2a580aa98f4a3fda15fe4ddbbf653b6 (diff) | |
download | qt-creator-ebc229a25b6ae6cde2bb1c28e8e3fdfd7ab1670e.tar.gz |
Debugger: fix QString printing in LLDB with python3
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>
Diffstat (limited to 'src/plugins/cpptools/cpprefactoringchanges.cpp')
0 files changed, 0 insertions, 0 deletions