forked from qt-creator/qt-creator
Debugger: Remove messaging indirection in DebuggerRunControl
The base functionality is good enough. Change-Id: Ie39398828733245e0e74ca9a2941c069116014f0 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -230,9 +230,9 @@ void IosDebugSupport::handleRemoteProcessFinished(bool cleanEnd)
|
||||
{
|
||||
if (m_runControl) {
|
||||
if (!cleanEnd)
|
||||
m_runControl->showMessage(tr("Run ended with error."), AppStuff);
|
||||
m_runControl->appendMessage(tr("Run ended with error."), Utils::DebugFormat);
|
||||
else
|
||||
m_runControl->showMessage(tr("Run ended."), AppStuff);
|
||||
m_runControl->appendMessage(tr("Run ended."), Utils::DebugFormat);
|
||||
m_runControl->engine()->abortDebugger();
|
||||
}
|
||||
}
|
||||
@@ -243,7 +243,7 @@ void IosDebugSupport::handleRemoteOutput(const QString &output)
|
||||
if (m_runControl->engine())
|
||||
m_runControl->engine()->showMessage(output, AppOutput);
|
||||
else
|
||||
m_runControl->showMessage(output, AppOutput);
|
||||
m_runControl->appendMessage(output, Utils::StdOutFormatSameLine);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -253,7 +253,7 @@ void IosDebugSupport::handleRemoteErrorOutput(const QString &output)
|
||||
if (m_runControl->engine())
|
||||
m_runControl->engine()->showMessage(output, AppError);
|
||||
else
|
||||
m_runControl->showMessage(output, AppError);
|
||||
m_runControl->appendMessage(output, Utils::StdErrFormatSameLine);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user