debugger: remove "debug debugging helper" option

Only useful for the compiled dumpers, and I have not used it for a while.
This commit is contained in:
hjk
2010-11-29 13:52:43 +01:00
parent 78850785c1
commit 40c9b8f2f0
7 changed files with 3 additions and 57 deletions

View File

@@ -1769,9 +1769,6 @@ void GdbEngine::setupEngine()
connect(debuggerCore()->action(UseDebuggingHelpers),
SIGNAL(valueChanged(QVariant)),
SLOT(setUseDebuggingHelpers(QVariant)));
connect(debuggerCore()->action(DebugDebuggingHelpers),
SIGNAL(valueChanged(QVariant)),
SLOT(setDebugDebuggingHelpersClassic(QVariant)));
}
QTC_ASSERT(state() == EngineSetupRequested, /**/);
@@ -3338,10 +3335,6 @@ void GdbEngine::setToolTipExpression(const QPoint &mousePos,
return;
}
// Minimize interference.
if (debuggerCore()->boolSetting(DebugDebuggingHelpers))
return;
m_toolTipPos = mousePos;
int line, column;
QString exp = cppExpressionAt(editor, cursorPos, &line, &column);
@@ -3459,19 +3452,15 @@ bool GdbEngine::hasDebuggingHelperForType(const QByteArray &type) const
return false;
if (m_gdbAdapter->dumperHandling() == AbstractGdbAdapter::DumperNotAvailable) {
// "call" is not possible in gdb when looking at core files
// Inferior calls are not possible in gdb when looking at core files.
return type == "QString" || type.endsWith("::QString")
|| type == "QStringList" || type.endsWith("::QStringList");
}
if (debuggerCore()->boolSetting(DebugDebuggingHelpers)
&& stackHandler()->isDebuggingDebuggingHelpers())
return false;
if (m_debuggingHelperState != DebuggingHelperAvailable)
return false;
// simple types
// Simple types.
return m_dumperHelper.type(type) != QtDumperHelper::UnknownType;
}