diff options
author | hjk <hjk@theqtcompany.com> | 2016-05-30 15:33:29 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-05-30 14:07:25 +0000 |
commit | 8ddce2fbd406baaf949dd97e3c05b240169a3949 (patch) | |
tree | 92b93fa849b67a86a2627cddb76ed6137f109eb5 | |
parent | 3a6ee2c305db90a7a713e830b89187270b3175ec (diff) | |
download | qt-creator-8ddce2fbd406baaf949dd97e3c05b240169a3949.tar.gz |
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>
-rw-r--r-- | src/plugins/debugger/lldb/lldbengine.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/debugger/lldb/lldbengine.cpp b/src/plugins/debugger/lldb/lldbengine.cpp index 38d89a5792..f4dfe9938e 100644 --- a/src/plugins/debugger/lldb/lldbengine.cpp +++ b/src/plugins/debugger/lldb/lldbengine.cpp @@ -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) |