debugger: only update variables that are operated on

This commit is contained in:
hjk
2010-09-13 08:32:12 +02:00
parent 5ce3f8ab7a
commit 7457083bab
20 changed files with 84 additions and 34 deletions

View File

@@ -130,6 +130,12 @@ class WatchHandler;
class DebuggerEnginePrivate;
struct WatchUpdateFlags
{
WatchUpdateFlags() : tryIncremental(false) {}
bool tryIncremental;
};
// FIXME: DEBUGGER_EXPORT?
class DEBUGGER_EXPORT DebuggerEngine : public QObject
{
@@ -140,10 +146,11 @@ public:
virtual ~DebuggerEngine();
virtual void setToolTipExpression(const QPoint & /* mousePos */,
TextEditor::ITextEditor * /* editor */, int /* cursorPos */) { }
TextEditor::ITextEditor * /* editor */, int /* cursorPos */) {}
void initializeFromTemplate(DebuggerEngine *other);
virtual void updateWatchData(const WatchData & /* data */) { }
virtual void updateWatchData(const WatchData & /* data */,
const WatchUpdateFlags & /* flags */ = WatchUpdateFlags()) {}
void startDebugger(DebuggerRunControl *runControl);
virtual bool isSessionEngine() const { return false; }