Commit cb1275fa authored by hjk's avatar hjk

Debugger: Work on dumper auto tests

Change-Id: I3df1faef35fec270094fdfbcb360216f516d0208
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 339bc28d
...@@ -1371,7 +1371,9 @@ class Dumper: ...@@ -1371,7 +1371,9 @@ class Dumper:
if not hasPlot(): if not hasPlot():
return return
if not isSimpleType(type): 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 return
global gnuplotPipe global gnuplotPipe
global gnuplotPid global gnuplotPid
......
...@@ -1840,7 +1840,8 @@ def qdump__QWeakPointer(d, value): ...@@ -1840,7 +1840,8 @@ def qdump__QWeakPointer(d, value):
d.putNumChild(3) d.putNumChild(3)
if d.isExpanded(): if d.isExpanded():
with Children(d): 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("weakref", weakref)
d.putIntItem("strongref", strongref) d.putIntItem("strongref", strongref)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment