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_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<LocationMark> 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);
|
||||
|
||||
Reference in New Issue
Block a user