diff options
Diffstat (limited to 'share/qtcreator/debugger/cdbbridge.py')
-rw-r--r-- | share/qtcreator/debugger/cdbbridge.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/share/qtcreator/debugger/cdbbridge.py b/share/qtcreator/debugger/cdbbridge.py index 6d8100b208..1170ff0306 100644 --- a/share/qtcreator/debugger/cdbbridge.py +++ b/share/qtcreator/debugger/cdbbridge.py @@ -117,8 +117,12 @@ class Dumper(DumperBase): else: base = 10 signed = not val.type.name.startswith('unsigned') - val.ldata = int(integerString, base).to_bytes(val.type.size(), \ - byteorder='little', signed=signed) + try: + val.ldata = int(integerString, base).to_bytes(val.type.size(), \ + byteorder='little', signed=signed) + except: + # read raw memory in case the integerString can not be interpreted + pass val.isBaseClass = val.name == val.type.name val.lIsInScope = True val.laddress = nativeValue.address() |