Changeset View
Changeset View
Standalone View
Standalone View
debuggers/common/mivariable.h
Show All 37 Lines | |||||
38 | class MIVariable : public KDevelop::Variable | 38 | class MIVariable : public KDevelop::Variable | ||
39 | { | 39 | { | ||
40 | public: | 40 | public: | ||
41 | MIVariable(MIDebugSession *session, KDevelop::TreeModel* model, KDevelop::TreeItem* parent, | 41 | MIVariable(MIDebugSession *session, KDevelop::TreeModel* model, KDevelop::TreeItem* parent, | ||
42 | const QString& expression, const QString& display = ""); | 42 | const QString& expression, const QString& display = ""); | ||
43 | 43 | | |||
44 | ~MIVariable(); | 44 | ~MIVariable(); | ||
45 | 45 | | |||
46 | /* FIXME: should eventually remove, so that existance of | 46 | /* FIXME: should eventually remove, so that existence of | ||
47 | varobjs is fully encapsulalated inside GdbVariable. */ | 47 | varobjs is fully encapsulalated inside GdbVariable. */ | ||
48 | const QString& varobj() const; | 48 | const QString& varobj() const; | ||
49 | void handleUpdate(const MI::Value& var); | 49 | void handleUpdate(const MI::Value& var); | ||
50 | 50 | | |||
51 | /* Called when debugger dies. Clears the association between varobj names | 51 | /* Called when debugger dies. Clears the association between varobj names | ||
52 | and Variable instances. */ | 52 | and Variable instances. */ | ||
53 | void markAsDead(); | 53 | void markAsDead(); | ||
54 | 54 | | |||
Show All 34 Lines |