forked from qt-creator/qt-creator
debugger: rework WatchModel
It's one model for all locals, watch, return, tooltip and inspector data. This allows more streamlined code paths and better isolation of the model data from the WatchHandler. WatchItems are now registered in a hash indexed by iname, so inames can be used as the primary handle to watch data in the WatchHandler interface. Change-Id: Idac0a808b5d785307496d1de4198a1f2e9ce3880 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
@@ -85,7 +85,7 @@ public:
|
||||
virtual QVariant configValue(const QString &name) const = 0;
|
||||
virtual void setConfigValue(const QString &name, const QVariant &value) = 0;
|
||||
virtual void updateState(DebuggerEngine *engine) = 0;
|
||||
virtual void updateWatchersWindow() = 0;
|
||||
virtual void updateWatchersWindow(bool showWatch, bool showReturn) = 0;
|
||||
virtual void showQtDumperLibraryWarning(const QString &details) = 0;
|
||||
virtual QIcon locationMarkIcon() const = 0;
|
||||
virtual const CPlusPlus::Snapshot &cppCodeModelSnapshot() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user