diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp index b640f6a0159..a7d72e45027 100644 --- a/src/plugins/debugger/debuggerengine.cpp +++ b/src/plugins/debugger/debuggerengine.cpp @@ -220,8 +220,7 @@ public: m_stackHandler(engine), m_threadsHandler(engine), m_watchHandler(engine), - m_disassemblerAgent(engine), - m_isStateDebugging(false) + m_disassemblerAgent(engine) { connect(&m_locationTimer, &QTimer::timeout, this, &DebuggerEnginePrivate::resetLocation); @@ -310,8 +309,6 @@ public: QScopedPointer m_locationMark; QTimer m_locationTimer; - bool m_isStateDebugging = false; - Utils::FileInProjectFinder m_fileFinder; QString m_qtNamespace; @@ -1043,8 +1040,6 @@ static inline QString msgStateChanged(DebuggerState oldState, DebuggerState newS void DebuggerEngine::setState(DebuggerState state, bool forced) { const QString msg = msgStateChanged(d->m_state, state, forced, isMasterEngine()); - if (isStateDebugging()) - qDebug("%s", qPrintable(msg)); DebuggerState oldState = d->m_state; d->m_state = state; @@ -1642,16 +1637,6 @@ void DebuggerEngine::openDisassemblerView(const Location &location) agent->setLocation(location); } -bool DebuggerEngine::isStateDebugging() const -{ - return d->m_isStateDebugging; -} - -void DebuggerEngine::setStateDebugging(bool on) -{ - d->m_isStateDebugging = on; -} - void DebuggerRunParameters::validateExecutable() { const bool warnOnRelease = boolSetting(WarnOnReleaseBuilds); diff --git a/src/plugins/debugger/debuggerengine.h b/src/plugins/debugger/debuggerengine.h index 7f324835c55..1dc3b9bfeaf 100644 --- a/src/plugins/debugger/debuggerengine.h +++ b/src/plugins/debugger/debuggerengine.h @@ -465,9 +465,6 @@ protected: bool showStoppedBySignalMessageBox(const QString meaning, QString name); void showStoppedByExceptionMessageBox(const QString &description); - bool isStateDebugging() const; - void setStateDebugging(bool on); - virtual void setupSlaveEngine(); virtual void runSlaveEngine(); virtual void shutdownSlaveEngine();