forked from qt-creator/qt-creator
Debugger: Small fixes
CDB: expand pointers correctly Check for watchpoints at pointed to-addresses correctly.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user