forked from qt-creator/qt-creator
Debugger: Remove some old debug code
I doubt this has been used in the last five years. Change-Id: Ia81cacfead1d15f77cb7e1e438ebcd59a238af70 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -220,8 +220,7 @@ public:
|
|||||||
m_stackHandler(engine),
|
m_stackHandler(engine),
|
||||||
m_threadsHandler(engine),
|
m_threadsHandler(engine),
|
||||||
m_watchHandler(engine),
|
m_watchHandler(engine),
|
||||||
m_disassemblerAgent(engine),
|
m_disassemblerAgent(engine)
|
||||||
m_isStateDebugging(false)
|
|
||||||
{
|
{
|
||||||
connect(&m_locationTimer, &QTimer::timeout,
|
connect(&m_locationTimer, &QTimer::timeout,
|
||||||
this, &DebuggerEnginePrivate::resetLocation);
|
this, &DebuggerEnginePrivate::resetLocation);
|
||||||
@@ -310,8 +309,6 @@ public:
|
|||||||
QScopedPointer<LocationMark> m_locationMark;
|
QScopedPointer<LocationMark> m_locationMark;
|
||||||
QTimer m_locationTimer;
|
QTimer m_locationTimer;
|
||||||
|
|
||||||
bool m_isStateDebugging = false;
|
|
||||||
|
|
||||||
Utils::FileInProjectFinder m_fileFinder;
|
Utils::FileInProjectFinder m_fileFinder;
|
||||||
QString m_qtNamespace;
|
QString m_qtNamespace;
|
||||||
|
|
||||||
@@ -1043,8 +1040,6 @@ static inline QString msgStateChanged(DebuggerState oldState, DebuggerState newS
|
|||||||
void DebuggerEngine::setState(DebuggerState state, bool forced)
|
void DebuggerEngine::setState(DebuggerState state, bool forced)
|
||||||
{
|
{
|
||||||
const QString msg = msgStateChanged(d->m_state, state, forced, isMasterEngine());
|
const QString msg = msgStateChanged(d->m_state, state, forced, isMasterEngine());
|
||||||
if (isStateDebugging())
|
|
||||||
qDebug("%s", qPrintable(msg));
|
|
||||||
|
|
||||||
DebuggerState oldState = d->m_state;
|
DebuggerState oldState = d->m_state;
|
||||||
d->m_state = state;
|
d->m_state = state;
|
||||||
@@ -1642,16 +1637,6 @@ void DebuggerEngine::openDisassemblerView(const Location &location)
|
|||||||
agent->setLocation(location);
|
agent->setLocation(location);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DebuggerEngine::isStateDebugging() const
|
|
||||||
{
|
|
||||||
return d->m_isStateDebugging;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DebuggerEngine::setStateDebugging(bool on)
|
|
||||||
{
|
|
||||||
d->m_isStateDebugging = on;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DebuggerRunParameters::validateExecutable()
|
void DebuggerRunParameters::validateExecutable()
|
||||||
{
|
{
|
||||||
const bool warnOnRelease = boolSetting(WarnOnReleaseBuilds);
|
const bool warnOnRelease = boolSetting(WarnOnReleaseBuilds);
|
||||||
|
|||||||
@@ -465,9 +465,6 @@ protected:
|
|||||||
bool showStoppedBySignalMessageBox(const QString meaning, QString name);
|
bool showStoppedBySignalMessageBox(const QString meaning, QString name);
|
||||||
void showStoppedByExceptionMessageBox(const QString &description);
|
void showStoppedByExceptionMessageBox(const QString &description);
|
||||||
|
|
||||||
bool isStateDebugging() const;
|
|
||||||
void setStateDebugging(bool on);
|
|
||||||
|
|
||||||
virtual void setupSlaveEngine();
|
virtual void setupSlaveEngine();
|
||||||
virtual void runSlaveEngine();
|
virtual void runSlaveEngine();
|
||||||
virtual void shutdownSlaveEngine();
|
virtual void shutdownSlaveEngine();
|
||||||
|
|||||||
Reference in New Issue
Block a user