Merge branch '0.9.1-beta' of git@scm.dev.nokia.troll.no:creator/mainline into 0.9.1-beta

This commit is contained in:
mae
2008-12-03 12:47:27 +01:00
2 changed files with 18 additions and 5 deletions

View File

@@ -791,6 +791,11 @@ bool DebuggerManager::startNewDebugger(StartMode mode)
m_processArgs = QStringList();
m_workingDir = QString();
m_attachedPID = dlg.attachPID();
if (m_attachedPID == 0) {
QMessageBox::warning(mainWindow(), tr("Warning"),
tr("Cannot attach to PID 0"));
return false;
}
} else if (startMode() == startInternal) {
if (m_executable.isEmpty()) {
QString startDirectory = m_executable;