Debugger: Use stricter access test in pointer pretty printer

Change-Id: I34901ece94e9ab1d8ae929fda33ef1ee647d9d75
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2014-12-12 08:21:20 +01:00
parent c126e7075b
commit 7b1c4d65b1
+2 -1
View File
@@ -890,7 +890,8 @@ class DumperBase:
innerTypeName = str(innerType)
try:
value.dereference()
target = value.dereference()
target.is_optimized_out # Access test.
except:
# Failure to dereference a pointer should at least
# show the value of a pointer.