forked from qt-creator/qt-creator
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: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Christian Stenger
parent
436a10ce50
commit
a4bc6e8ee6
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user