aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <[email protected]>2012-04-26 17:38:56 +0200
committerhjk <[email protected]>2012-05-03 13:00:09 +0200
commita872c91c64893c739ae842fdba1d755e780ad4a5 (patch)
tree36d6b8802fb3f6991b170af80b29542c1eaed7d8
parenta64cff731f3168bf46f018dacb03c8b1bf224ed3 (diff)
debugger: enable memory editor for referenced address
Task-number: QTCREATORBUG-7318 Change-Id: I2cb422c9e798ae3dd1babcff25c623f086f916f8 Reviewed-by: Orgad Shaneh <[email protected]> Reviewed-by: hjk <[email protected]>
-rw-r--r--src/plugins/debugger/watchhandler.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp
index 57de785ac93..f90f9b7672f 100644
--- a/src/plugins/debugger/watchhandler.cpp
+++ b/src/plugins/debugger/watchhandler.cpp
@@ -849,9 +849,7 @@ QVariant WatchModel::data(const QModelIndex &idx, int role) const
return data.value;
case LocalsPointerValueRole:
- if (isPointerType(data.type))
- return pointerValue(data.value);
- return QVariant(quint64(0));
+ return data.referencingAddress;
case LocalsIsWatchpointAtAddressRole: {
BreakpointParameters bp(WatchpointAtAddress);