forked from qt-creator/qt-creator
Debugger: Streamline ramping down
There were only two used target states, and in case of mixed debugging all parts of the machinery better agree on the direction. So one bool in the (shared) runTool is sufficient. Change-Id: Iffbf1651b82dde707cfc37d8da9d3da573b34b76 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -78,6 +78,8 @@ public:
|
||||
Internal::DebuggerRunParameters &runParameters();
|
||||
const Internal::DebuggerRunParameters &runParameters() const;
|
||||
|
||||
void startDying() { m_isDying = true; }
|
||||
bool isDying() const { return m_isDying; }
|
||||
bool isCppDebugging() const { return m_isCppDebugging; }
|
||||
bool isQmlDebugging() const { return m_isQmlDebugging; }
|
||||
int portsUsedByDebugger() const;
|
||||
@@ -94,6 +96,7 @@ private:
|
||||
Internal::DebuggerEngine *m_engine = nullptr; // Master engine
|
||||
Internal::DebuggerRunParameters m_runParameters;
|
||||
QStringList m_errors;
|
||||
bool m_isDying = false;
|
||||
const bool m_isCppDebugging;
|
||||
const bool m_isQmlDebugging;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user