Changeset View
Changeset View
Standalone View
Standalone View
debuggers/common/midebugger.cpp
Show First 20 Lines • Show All 322 Lines • ▼ Show 20 Line(s) | 322 | { | |||
---|---|---|---|---|---|
323 | qCDebug(DEBUGGERCOMMON) << "Debugger ERRORED" << error; | 323 | qCDebug(DEBUGGERCOMMON) << "Debugger ERRORED" << error; | ||
324 | if(error == QProcess::FailedToStart) | 324 | if(error == QProcess::FailedToStart) | ||
325 | { | 325 | { | ||
326 | KMessageBox::information( | 326 | KMessageBox::information( | ||
327 | qApp->activeWindow(), | 327 | qApp->activeWindow(), | ||
328 | i18n("<b>Could not start debugger.</b>" | 328 | i18n("<b>Could not start debugger.</b>" | ||
329 | "<p>Could not run '%1'. " | 329 | "<p>Could not run '%1'. " | ||
330 | "Make sure that the path name is specified correctly.", | 330 | "Make sure that the path name is specified correctly.", | ||
331 | debuggerBinary_), | 331 | debuggerExecutable_), | ||
332 | i18n("Could not start debugger")); | 332 | i18n("Could not start debugger")); | ||
333 | 333 | | |||
334 | emit userCommandOutput("Process failed to start\n"); | 334 | emit userCommandOutput("Process failed to start\n"); | ||
335 | emit exited(true, i18n("Process failed to start")); | 335 | emit exited(true, i18n("Process failed to start")); | ||
336 | 336 | | |||
337 | } else if (error == QProcess::Crashed) { | 337 | } else if (error == QProcess::Crashed) { | ||
338 | KMessageBox::error( | 338 | KMessageBox::error( | ||
339 | qApp->activeWindow(), | 339 | qApp->activeWindow(), | ||
340 | i18n("<b>Debugger crashed.</b>" | 340 | i18n("<b>Debugger crashed.</b>" | ||
341 | "<p>The debugger process '%1' crashed.<br>" | 341 | "<p>The debugger process '%1' crashed.<br>" | ||
342 | "Because of that the debug session has to be ended.<br>" | 342 | "Because of that the debug session has to be ended.<br>" | ||
343 | "Try to reproduce the crash without KDevelop and report a bug.<br>", | 343 | "Try to reproduce the crash without KDevelop and report a bug.<br>", | ||
344 | debuggerBinary_), | 344 | debuggerExecutable_), | ||
345 | i18n("Debugger crashed")); | 345 | i18n("Debugger crashed")); | ||
346 | 346 | | |||
347 | emit userCommandOutput("Process crashed\n"); | 347 | emit userCommandOutput("Process crashed\n"); | ||
348 | emit exited(true, i18n("Process crashed")); | 348 | emit exited(true, i18n("Process crashed")); | ||
349 | } | 349 | } | ||
350 | } | 350 | } |