forked from qt-creator/qt-creator
Debugger: Make QFiniteStack plot work without requiring expansion
Consistent with QVector etc. Change-Id: Id616c9003c0d561ec941f9961dee122059d75dc3 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -546,8 +546,7 @@ def qdump__QFiniteStack(d, value):
|
|||||||
size = int(value["_size"])
|
size = int(value["_size"])
|
||||||
d.check(0 <= size and size <= alloc and alloc <= 1000 * 1000 * 1000)
|
d.check(0 <= size and size <= alloc and alloc <= 1000 * 1000 * 1000)
|
||||||
d.putItemCount(size)
|
d.putItemCount(size)
|
||||||
if d.isExpanded():
|
d.putPlotData(value["_array"], size, d.templateArgument(value.type, 0))
|
||||||
d.putPlotData(value["_array"], size, d.templateArgument(value.type, 0))
|
|
||||||
|
|
||||||
# Stock gdb 7.2 seems to have a problem with types here:
|
# Stock gdb 7.2 seems to have a problem with types here:
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user