Skip to content
Snippets Groups Projects
Commit c0b814e8 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: Don't upcast before calling a base class dumper.


Task-number: QTCREATORBUG-6933
Change-Id: I4b300dfddad91997fa4c0ffa9cac16d12daeb707
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 7b471270
No related branches found
No related tags found
No related merge requests found
...@@ -1691,7 +1691,10 @@ class Dumper: ...@@ -1691,7 +1691,10 @@ class Dumper:
#warn(" STRIPPED: %s" % nsStrippedType) #warn(" STRIPPED: %s" % nsStrippedType)
#warn(" DUMPERS: %s" % (nsStrippedType in qqDumpers)) #warn(" DUMPERS: %s" % (nsStrippedType in qqDumpers))
if nsStrippedType in qqDumpers: if nsStrippedType in qqDumpers:
qqDumpers[nsStrippedType](self, expensiveUpcast(value)) if tryDynamic:
qqDumpers[nsStrippedType](self, expensiveUpcast(value))
else:
qqDumpers[nsStrippedType](self, value)
return return
# Is this derived from QObject? # Is this derived from QObject?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment