forked from qt-creator/qt-creator
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:
@@ -1054,7 +1054,7 @@ class Dumper:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
for item in locals:
|
for item in locals:
|
||||||
value = downcast(item.value)
|
value = downcast(item.value) if self.useDynamicType else item.value
|
||||||
with OutputSafer(self):
|
with OutputSafer(self):
|
||||||
self.anonNumber = -1
|
self.anonNumber = -1
|
||||||
|
|
||||||
@@ -1370,6 +1370,7 @@ class Dumper:
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
if tryDynamic:
|
||||||
try:
|
try:
|
||||||
# Dynamic references are not supported by gdb, see
|
# Dynamic references are not supported by gdb, see
|
||||||
# http://sourceware.org/bugzilla/show_bug.cgi?id=14077.
|
# http://sourceware.org/bugzilla/show_bug.cgi?id=14077.
|
||||||
|
Reference in New Issue
Block a user