Commit edefcfe4 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

error messagebox upon failure to start up dbg

parent a5f6281f
......@@ -1530,8 +1530,11 @@ bool GdbEngine::startDebugger()
m_gdbProc.start(q->settings()->m_gdbCmd, gdbArgs);
m_gdbProc.waitForStarted();
if (m_gdbProc.state() != QProcess::Running)
if (m_gdbProc.state() != QProcess::Running) {
QMessageBox::critical(q->mainWindow(), tr("Debugger Startup Failure"),
tr("Cannot start debugger: %1").arg(m_gdbProc.errorString()));
return false;
}
q->showStatusMessage(tr("Gdb Running"));
......
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