forked from qt-creator/qt-creator
debugger: add a few lines to the Application Output pane on debugger start/stop
This commit is contained in:
@@ -510,11 +510,14 @@ void DebuggerRunControl::start()
|
|||||||
|
|
||||||
engine()->startDebugger(this);
|
engine()->startDebugger(this);
|
||||||
m_running = true;
|
m_running = true;
|
||||||
|
emit addToOutputWindowInline(this, tr("Debugging starts"), false);
|
||||||
|
emit addToOutputWindowInline(this, "\n", false);
|
||||||
emit started();
|
emit started();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DebuggerRunControl::startFailed()
|
void DebuggerRunControl::startFailed()
|
||||||
{
|
{
|
||||||
|
emit addToOutputWindowInline(this, tr("Debugging has failed"), false);
|
||||||
m_running = false;
|
m_running = false;
|
||||||
emit finished();
|
emit finished();
|
||||||
engine()->handleStartFailed();
|
engine()->handleStartFailed();
|
||||||
@@ -522,6 +525,7 @@ void DebuggerRunControl::startFailed()
|
|||||||
|
|
||||||
void DebuggerRunControl::handleFinished()
|
void DebuggerRunControl::handleFinished()
|
||||||
{
|
{
|
||||||
|
emit addToOutputWindowInline(this, tr("Debugging has finished"), false);
|
||||||
engine()->handleFinished();
|
engine()->handleFinished();
|
||||||
plugin()->runControlFinished(this);
|
plugin()->runControlFinished(this);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user