diff options
author | hjk <hjk@theqtcompany.com> | 2015-02-25 17:46:09 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-02-26 07:48:42 +0000 |
commit | 0697c6d89abc4ed761bda2c64fb74d6489485d3a (patch) | |
tree | 035f8db2c6c5e56ee9861efd615f883b5c958795 /share | |
parent | d6fd56ba9d304dba351a9f89e0f0f0d57db2496e (diff) | |
download | qt-creator-0697c6d89abc4ed761bda2c64fb74d6489485d3a.tar.gz |
Debugger: Fix array access with LLDB if index is a long
Triggered with the QGraphicsPolygonItem dumper on Linux.
Change-Id: I1374ca308c732eb5c25da959d8b499515ed72e66
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/debugger/lldbbridge.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/debugger/lldbbridge.py b/share/qtcreator/debugger/lldbbridge.py index b7c24b6a0d..5184c102c6 100644 --- a/share/qtcreator/debugger/lldbbridge.py +++ b/share/qtcreator/debugger/lldbbridge.py @@ -69,7 +69,7 @@ Value = lldb.SBValue def impl_SBValue__add__(self, offset): if self.GetType().IsPointerType(): - if isinstance(offset, int): + if isinstance(offset, int) or isinstance(offset, long): pass else: offset = offset.GetValueAsSigned() |