Try to start debug listener if it is not yet running. This can
happen when e.g. a external debug listener was closed in the
meantime.
m_exitCode = 0;
bool started = false;
+ if (!WinDebugInterface::instance()->isRunning())
+ WinDebugInterface::instance()->start(); // Try to start listener again...
+
do {
QString pcmd, pargs;
QtcProcess::prepareCommand(m_program, m_args, &pcmd, &pargs, &m_environment, &m_workingDir);
break;
}
+ if (!WinDebugInterface::instance()->isRunning())
+ emit processMessage(msgWinCannotRetrieveDebuggingOutput(), false);
+
WaitForSingleObject(m_pid->hProcess, INFINITE);
} while (false);