Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.2.0-rc1
-
None
-
77bd581f4995fa5a8b01069d4510824f36eaf541
Description
Code:
struct Foo { int bar[4] = {1, 2, 3, 4}; }; int main() { Foo foo; (void)foo; return 0; // Break here }
Dumper:
def qdump__Foo(d, value):
d.putValue(value["bar"][0])
Exception:
>~"bridgemessage={msg=\"**** CAUGHT EXCEPTION: SUBITEM ****\"},\n" >~"bridgemessage={msg=\"Traceback (most recent call last):\n\"}," >~"bridgemessage={msg=\" File $D:/Projects/qt-creator/qtc-master/share/qtcreator/debugger/dumper.py$, line 2259, in handleLocals\n self.putItem(value)\n\"}," >~"bridgemessage={msg=\" File $D:/Projects/qt-creator/qtc-master/share/qtcreator/debugger/dumper.py$, line 2590, in putItem\n if self.tryPutPrettyItem(typeName, value):\n\"}," >~"bridgemessage={msg=\" File $D:/Projects/qt-creator/qtc-master/share/qtcreator/debugger/dumper.py$, line 1193, in tryPutPrettyItem\n dumper(self, value)\n\"}," >~"bridgemessage={msg=\" File $//rebaser/Projects/Dumpers\\acdumper.py$, line 436, in qdump__Foo\n d.putValue(value[$bar$][0])\n\"}," >~"bridgemessage={msg=\" File $D:/Projects/qt-creator/qtc-master/share/qtcreator/debugger/dumper.py$, line 2860, in __getitem__\n return self.members(False)[index]\n\"}," >~"bridgemessage={msg=\"IndexError: list index out of range\n\"},"