forked from qt-creator/qt-creator
debugger: re-do state transitions in combined C++/Qml engine
This still needs a lot of work and sanitizing.
This commit is contained in:
@@ -241,6 +241,7 @@ public:
|
||||
|
||||
virtual void updateViews();
|
||||
bool isSlaveEngine() const;
|
||||
bool isMasterEngine() const;
|
||||
DebuggerEngine *masterEngine() const;
|
||||
|
||||
signals:
|
||||
@@ -320,7 +321,7 @@ protected:
|
||||
virtual void frameUp();
|
||||
virtual void frameDown();
|
||||
|
||||
DebuggerRunControl *runControl() const; // FIXME: Protect.
|
||||
DebuggerRunControl *runControl() const;
|
||||
|
||||
static QString msgWatchpointTriggered(BreakpointId id,
|
||||
int number, quint64 address);
|
||||
@@ -338,12 +339,18 @@ protected:
|
||||
|
||||
static bool isCppBreakpoint(const Internal::BreakpointParameters &p);
|
||||
|
||||
bool isStateDebugging() const;
|
||||
void setStateDebugging(bool on);
|
||||
|
||||
private:
|
||||
// Wrapper engine needs access to state of its subengines.
|
||||
friend class Internal::QmlCppEngine;
|
||||
friend class Internal::DebuggerPluginPrivate;
|
||||
|
||||
void setState(DebuggerState state, bool forced = false);
|
||||
virtual void setState(DebuggerState state, bool forced = false);
|
||||
virtual void setSilentState(DebuggerState state);
|
||||
virtual void slaveEngineStateChanged(DebuggerEngine *engine,
|
||||
DebuggerState state);
|
||||
|
||||
friend class DebuggerEnginePrivate;
|
||||
DebuggerEnginePrivate *d;
|
||||
|
||||
Reference in New Issue
Block a user