forked from qt-creator/qt-creator
Continue process after lldb attach
lldb stops the process after attaching and the event loop is not yet started. This makes the debugger wait for events while process is in stopped state Task-number: QTCREATORBUG-15705 Change-Id: Iae6fe94fc483d963b377582c4cbbb443be5e6cba Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -937,9 +937,10 @@ void LldbEngine::handleStateNotification(const GdbMi &reportedState)
|
||||
if (runParameters().continueAfterAttach)
|
||||
m_continueAtNextSpontaneousStop = true;
|
||||
notifyEngineRunAndInferiorRunOk();
|
||||
} else if (newState == "enginerunandinferiorstopok")
|
||||
} else if (newState == "enginerunandinferiorstopok") {
|
||||
notifyEngineRunAndInferiorStopOk();
|
||||
else if (newState == "enginerunokandinferiorunrunnable")
|
||||
continueInferior();
|
||||
} else if (newState == "enginerunokandinferiorunrunnable")
|
||||
notifyEngineRunOkAndInferiorUnrunnable();
|
||||
else if (newState == "inferiorshutdownok")
|
||||
notifyInferiorShutdownOk();
|
||||
|
||||
Reference in New Issue
Block a user