forked from qt-creator/qt-creator
Debugger: Disable Run in Terminal with LLDB globally
This forcefully ignores the Run in Terminal setting, i.e. debugger starts up properly, but without the console. It a stop-gap measure deemed less harmful than the 4.0 'start up gets stuck' behavior. Change-Id: I015147c4db23bf91ea09001ce923fbab97eeae77 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -179,7 +179,15 @@ bool LldbEngine::prepareCommand()
|
||||
|
||||
void LldbEngine::setupEngine()
|
||||
{
|
||||
// FIXME: We can't handle terminals yet.
|
||||
if (runParameters().useTerminal) {
|
||||
qWarning("Run in Terminal is not supported yet with the LLDB backend");
|
||||
showMessage(tr("Run in Terminal is not supported yet with the LLDB backend"), AppError);
|
||||
runParameters().useTerminal = false;
|
||||
}
|
||||
|
||||
if (runParameters().useTerminal) {
|
||||
QTC_CHECK(false); // See above.
|
||||
#ifdef Q_OS_WIN
|
||||
// Windows up to xp needs a workaround for attaching to freshly started processes. see proc_stub_win
|
||||
if (QSysInfo::WindowsVersion >= QSysInfo::WV_VISTA)
|
||||
|
||||
Reference in New Issue
Block a user