forked from qt-creator/qt-creator
Android: Fix error messages
Change-Id: Ib7f996d65d5d50b1c7cbea399bccc1c87ba0e9e6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
@@ -520,7 +520,7 @@ void AndroidRunnerWorker::handleJdbWaiting()
|
||||
jdbProcess->setProcessChannelMode(QProcess::MergedChannels);
|
||||
jdbProcess->start(jdbPath.toString(), jdbArgs);
|
||||
if (!jdbProcess->waitForStarted()) {
|
||||
emit remoteProcessFinished(tr("Failed to start jdb"));
|
||||
emit remoteProcessFinished(tr("Failed to start jdb."));
|
||||
return;
|
||||
}
|
||||
m_jdbProcess = std::move(jdbProcess);
|
||||
@@ -560,7 +560,8 @@ void AndroidRunnerWorker::handleJdbSettled()
|
||||
}
|
||||
}
|
||||
}
|
||||
emit remoteProcessFinished(tr("Cannot attach jdb to the running application").arg(m_lastRunAdbError));
|
||||
emit remoteProcessFinished(tr("Cannot attach jdb to the running application. Reason: %1.")
|
||||
.arg(m_lastRunAdbError));
|
||||
}
|
||||
|
||||
void AndroidRunnerWorker::onProcessIdChanged(qint64 pid)
|
||||
|
Reference in New Issue
Block a user