forked from qt-creator/qt-creator
Enabled the use of Debugger-specific watch/locals models.
- Modified WatchModel to handle storage of an hierarchy of WatchItems. - Factored out code for asynchronous population to AsyncWatchModel and added a mixin for convenient handling - Added base class for synchronous models. - Implement simple, synchronous models for CDB, greatly simplifying code and finally getting manual expansion right. Signed-off-by: hjk <qtc-committer@nokia.com>
This commit is contained in:
@@ -46,6 +46,8 @@ class ITextEditor;
|
||||
namespace Debugger {
|
||||
namespace Internal {
|
||||
|
||||
class WatchModel;
|
||||
|
||||
class Symbol;
|
||||
class WatchData;
|
||||
struct DebuggerStartParameters;
|
||||
@@ -60,14 +62,13 @@ public:
|
||||
virtual bool startDebugger(const QSharedPointer<DebuggerStartParameters> &startParameters) = 0;
|
||||
virtual void exitDebugger() = 0;
|
||||
virtual void detachDebugger() {}
|
||||
virtual void updateWatchData(const WatchData &data) = 0;
|
||||
|
||||
virtual void stepExec() = 0;
|
||||
virtual void stepOutExec() = 0;
|
||||
virtual void nextExec() = 0;
|
||||
virtual void stepIExec() = 0;
|
||||
virtual void nextIExec() = 0;
|
||||
|
||||
|
||||
virtual void continueInferior() = 0;
|
||||
virtual void interruptInferior() = 0;
|
||||
|
||||
@@ -95,6 +96,8 @@ public:
|
||||
virtual void reloadFullStack() = 0;
|
||||
|
||||
virtual void watchPoint(const QPoint &) {}
|
||||
|
||||
virtual WatchModel *watchModel(int type) const = 0;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user