Skip to content
Snippets Groups Projects
Commit 98bd57d2 authored by hjk's avatar hjk
Browse files

debugger: add a few lines to the Application Output pane on debugger start/stop

parent af01698c
No related branches found
No related tags found
No related merge requests found
...@@ -510,11 +510,14 @@ void DebuggerRunControl::start() ...@@ -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() ...@@ -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);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment