Commit 43e81075 authored by hjk's avatar hjk

Debugger: Re-enable a few dumper auto tests

Change-Id: I11fc41faebcd27d0d4a6ac5d06f0ce0fa3af8f29
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent f3451e92
......@@ -2449,13 +2449,13 @@ def qdump__boost__optional(d, value):
d.putValue("<uninitialized>")
d.putNumChild(0)
else:
d.putBetterType(value.type)
type = d.templateArgument(value.type, 0)
storage = value["m_storage"]
if type.code == ReferenceCode:
d.putItem(storage.cast(type.target().pointer()).dereference())
else:
d.putItem(storage.cast(type))
d.putBetterType(value.type)
def qdump__boost__shared_ptr(d, value):
......@@ -2484,6 +2484,7 @@ def qdump__boost__shared_ptr(d, value):
if isSimpleType(val.type):
d.putNumChild(3)
d.putItem(val)
d.putBetterType(value.type)
else:
d.putEmptyValue()
......
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