Dumper: Respect dynamic type option for locals and references

Task-number: QTCREATORBUG-7504

Change-Id: Ib49b4189e84cd4d3539ec9bbbada373f306ca68d
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Orgad Shaneh
2012-08-20 15:36:26 +03:00
committed by hjk
parent 92bdd2b7fa
commit 1d209b9c3e

View File

@@ -1054,7 +1054,7 @@ class Dumper:
pass
for item in locals:
value = downcast(item.value)
value = downcast(item.value) if self.useDynamicType else item.value
with OutputSafer(self):
self.anonNumber = -1
@@ -1370,6 +1370,7 @@ class Dumper:
except:
pass
if tryDynamic:
try:
# Dynamic references are not supported by gdb, see
# http://sourceware.org/bugzilla/show_bug.cgi?id=14077.