forked from qt-creator/qt-creator
Debugger: Work on dumper auto tests
Change-Id: I3df1faef35fec270094fdfbcb360216f516d0208 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -1371,7 +1371,9 @@ class Dumper:
|
||||
if not hasPlot():
|
||||
return
|
||||
if not isSimpleType(type):
|
||||
self.putValue(self.currentValue + " (not plottable)")
|
||||
#self.putValue(self.currentValue + " (not plottable)")
|
||||
self.putValue(self.currentValue)
|
||||
self.putField("plottable", "0")
|
||||
return
|
||||
global gnuplotPipe
|
||||
global gnuplotPid
|
||||
|
@@ -1840,7 +1840,8 @@ def qdump__QWeakPointer(d, value):
|
||||
d.putNumChild(3)
|
||||
if d.isExpanded():
|
||||
with Children(d):
|
||||
d.putSubItem("data", val.dereference())
|
||||
innerType = templateArgument(value.type, 0)
|
||||
d.putSubItem("data", val.dereference().cast(innerType))
|
||||
d.putIntItem("weakref", weakref)
|
||||
d.putIntItem("strongref", strongref)
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user