forked from qt-creator/qt-creator
ProjectExplorer/Debugger/RL: Make run control state transitions more uniform
Forward all tool and target activities to run control, and initiate further state transitions (only) from there. Also, make sure tool/target's on finished() triggered on all finishing code paths. After that, the base state handling is sufficient to handle remote linux running and debugging. Change-Id: I0150ef249c9ad0b7b8ac7192be6dc860c9ca8fc5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -69,6 +69,7 @@ public:
|
||||
void startFailed();
|
||||
void notifyEngineRemoteServerRunning(const QByteArray &msg, int pid);
|
||||
void notifyEngineRemoteSetupFinished(const RemoteSetupResult &result);
|
||||
void setRemoteParameters(const RemoteSetupResult &result);
|
||||
void notifyInferiorIll();
|
||||
Q_SLOT void notifyInferiorExited();
|
||||
void quitDebugger();
|
||||
@@ -79,6 +80,10 @@ public:
|
||||
|
||||
bool isCppDebugging() const { return m_isCppDebugging; }
|
||||
bool isQmlDebugging() const { return m_isQmlDebugging; }
|
||||
int portsUsedByDebugger() const;
|
||||
|
||||
virtual void doRemoteSetup() { emit requestRemoteSetup(); }
|
||||
void appendSolibSearchPath(const QString &str);
|
||||
|
||||
signals:
|
||||
void stateChanged(Debugger::DebuggerState state);
|
||||
|
||||
Reference in New Issue
Block a user