Debugger: Small fixes

CDB: expand pointers correctly
Check for watchpoints at pointed to-addresses correctly.
This commit is contained in:
Friedemann Kleint
2010-09-22 09:01:38 +02:00
parent aaf95f2838
commit 3b145f00fe
2 changed files with 5 additions and 2 deletions

View File

@@ -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: