Commit a4bc6e8e authored by David Schulz's avatar David Schulz Committed by Christian Stenger
Browse files

Debugger: Instruct user to enable CDB support component



If the cdbextension can't be found in 4.3 it's most probably caused by
an update of Qt Creator via Maintenance Tool. Instruct the user to
enable the 'Qt Creator CDB Debugger Support' component via the missing
cdbbextension message box.

Change-Id: I1e71d89ca75049dc1a2aacbe2b17bebf910a0d91
Reviewed-by: Riitta-Leena Miettinen's avatarLeena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
parent 436a10ce
......@@ -517,9 +517,11 @@ bool CdbEngine::launchCDB(const DebuggerRunParameters &sp, QString *errorMessage
m_wow64State = noWow64Stack;
const QFileInfo extensionFi(CdbEngine::extensionLibraryName(cdbIs64Bit));
if (!extensionFi.isFile()) {
*errorMessage = QString("Internal error: The extension %1 cannot be found.\n"
"If you build Qt Creator from sources, check out "
"https://code.qt.io/cgit/qt-creator/binary-artifacts.git/.").
*errorMessage = tr("Internal error: The extension %1 cannot be found.\n"
"If you have updated Qt Creator via Maintenance Tool you may "
"need to rerun the Tool and select \"Add or remove components\""
"and then select the\n"
"Qt > Tools > Qt Creator > Qt Creator CDB Debugger Support component.").
arg(QDir::toNativeSeparators(extensionFi.absoluteFilePath()));
return false;
}
......
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