Changeset View
Changeset View
Standalone View
Standalone View
plugins/debuggercommon/midebugger.cpp
Show First 20 Lines • Show All 334 Lines • ▼ Show 20 Line(s) | 333 | { | |||
---|---|---|---|---|---|
335 | 335 | | |||
336 | bool abnormal = exitCode != 0 || exitStatus != QProcess::NormalExit; | 336 | bool abnormal = exitCode != 0 || exitStatus != QProcess::NormalExit; | ||
337 | emit userCommandOutput(QStringLiteral("Process exited\n")); | 337 | emit userCommandOutput(QStringLiteral("Process exited\n")); | ||
338 | emit exited(abnormal, i18n("Process exited")); | 338 | emit exited(abnormal, i18n("Process exited")); | ||
339 | } | 339 | } | ||
340 | 340 | | |||
341 | void MIDebugger::processErrored(QProcess::ProcessError error) | 341 | void MIDebugger::processErrored(QProcess::ProcessError error) | ||
342 | { | 342 | { | ||
343 | qCDebug(DEBUGGERCOMMON) << "Debugger ERRORED" << error; | 343 | qCWarning(DEBUGGERCOMMON) << "Debugger ERRORED" << error << m_process->errorString(); | ||
344 | if(error == QProcess::FailedToStart) | 344 | if(error == QProcess::FailedToStart) | ||
345 | { | 345 | { | ||
346 | KMessageBox::information( | 346 | KMessageBox::information( | ||
347 | qApp->activeWindow(), | 347 | qApp->activeWindow(), | ||
348 | i18n("<b>Could not start debugger.</b>" | 348 | i18n("<b>Could not start debugger.</b>" | ||
349 | "<p>Could not run '%1'. " | 349 | "<p>Could not run '%1'. " | ||
350 | "Make sure that the path name is specified correctly.", | 350 | "Make sure that the path name is specified correctly.", | ||
351 | m_debuggerExecutable), | 351 | m_debuggerExecutable), | ||
Show All 19 Lines |