Commit e098134d authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Debugger: Report done when terminal *process* is stopped

Do not wait until the stub exits.

Task-number: QTCREATORBUG-19056
Change-Id: I7c4c3438c960a6e418ccd6c9d96d01d9621e9b02
Reviewed-by: Christian Stenger's avatarChristian Stenger <>
Reviewed-by: default avatarhjk <>
parent 3116d901
......@@ -182,8 +182,8 @@ TerminalRunner::TerminalRunner(DebuggerRunTool *debugger)
this, &TerminalRunner::stubError);
connect(&m_stubProc, &ConsoleProcess::processStarted,
this, &TerminalRunner::stubStarted);
connect(&m_stubProc, &ConsoleProcess::stubStopped,
this, &TerminalRunner::stubExited);
connect(&m_stubProc, &ConsoleProcess::processStopped,
this, [this] { reportDone(); });
void TerminalRunner::start()
......@@ -224,11 +224,6 @@ void TerminalRunner::stubError(const QString &msg)
void TerminalRunner::stubExited()
} // namespace Internal
} // namespace Debugger
......@@ -82,7 +82,6 @@ private:
void stop() final;
void stubStarted();
void stubExited();
void stubError(const QString &msg);
Utils::ConsoleProcess m_stubProc;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment