Debugger: Work on dumper auto tests

Change-Id: I3df1faef35fec270094fdfbcb360216f516d0208
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2013-02-01 17:35:16 +01:00
parent 339bc28dbb
commit cb1275fa33
3 changed files with 294 additions and 358 deletions

View File

@@ -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

View File

@@ -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