forked from qt-creator/qt-creator
Debugger: Add size to watch data.
Have CDB report it, pass it on to adding watches.
This commit is contained in:
@@ -735,6 +735,8 @@ QVariant WatchModel::data(const QModelIndex &idx, int role) const
|
||||
|
||||
case LocalsAddressRole:
|
||||
return data.coreAddress();
|
||||
case LocalsSizeRole:
|
||||
return QVariant(data.size);
|
||||
|
||||
case LocalsIsWatchpointAtPointerValueRole:
|
||||
if (isPointerType(data.type)) {
|
||||
|
||||
Reference in New Issue
Block a user