summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/watchhandler.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-09-22 09:01:38 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-09-22 09:01:38 +0200
commit3b145f00fef8cf0a112410526559b37253f17798 (patch)
treec50c3fb415fbc1a7f1ab2468c50d3058d30d8bb5 /src/plugins/debugger/watchhandler.cpp
parentaaf95f2838f1b4328c54bbe540371c450f239708 (diff)
downloadqt-creator-3b145f00fef8cf0a112410526559b37253f17798.tar.gz
Debugger: Small fixes
CDB: expand pointers correctly Check for watchpoints at pointed to-addresses correctly.
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r--src/plugins/debugger/watchhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp
index f5735b4b06..c28c100956 100644
--- a/src/plugins/debugger/watchhandler.cpp
+++ b/src/plugins/debugger/watchhandler.cpp
@@ -733,7 +733,7 @@ QVariant WatchModel::data(const QModelIndex &idx, int role) const
case LocalsIsWatchpointAtPointerValueRole:
if (isPointerType(data.type))
return engine()->breakHandler()
- ->watchPointAt(pointerValue(data.addr));
+ ->watchPointAt(pointerValue(data.value));
return false;
default: