Commit dc73498d authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: show value of pointers that can't be dereferenced



Task-number: QTCREATORBUG-6814
Change-Id: If7aa58e007ba17cb7dfb3b5f3ab8950a60bbf064
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent ceba7066
......@@ -1503,7 +1503,9 @@ class Dumper:
try:
value.dereference()
except:
self.putValue("<optimized out>")
# Failure to dereference a pointer should at least
# show the value of a pointer.
self.putValue(cleanAddress(value))
self.putType(typeName)
self.putNumChild(0)
return
......
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