Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.0.0
-
None
-
b00112290040c22e5adb549af10a6f9bbd464729
Description
LLDB debugger doesn't start on Linux due to a bug.
Function LldbEngine::runCommand is called before the lldb is initialized (from fetch modules). Instead of ignoring the request, it shuts down the engine.
This code in qt-creator/src/plugins/debugger/lldb/lldbengine.cpp:128:
void LldbEngine::runCommand(const DebuggerCommand &cmd)
{
QTC_ASSERT(m_lldbProc.state() == QProcess::Running, notifyEngineIll());
Should be replaced with this code:
void LldbEngine::runCommand(const DebuggerCommand &cmd)
{
if( m_lldbProc.state() == QProcess::Running ){