forked from qt-creator/qt-creator
Debugger: Speed up startup on Windows
The Qt SDK would not write the "Version" tag in the xml file, but the supported ABI and engine type are set. Only retrigger the debugger detection only if the version, and the ABI and engine type are not set. Change-Id: Ib73b1809f9dc6a16fa1988ee0e40e4d8131c667e Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -104,7 +104,10 @@ DebuggerItem::DebuggerItem(const Store &data)
|
|||||||
&& m_abis[0].osFlavor() == Abi::UnknownFlavor
|
&& m_abis[0].osFlavor() == Abi::UnknownFlavor
|
||||||
&& m_abis[0].binaryFormat() == Abi::UnknownFormat;
|
&& m_abis[0].binaryFormat() == Abi::UnknownFormat;
|
||||||
|
|
||||||
if (m_version.isEmpty() || mightBeAPreQnxSeparateOSQnxDebugger)
|
bool needsReinitialization = m_version.isEmpty() && m_abis.isEmpty()
|
||||||
|
&& m_engineType == NoEngineType;
|
||||||
|
|
||||||
|
if (needsReinitialization || mightBeAPreQnxSeparateOSQnxDebugger)
|
||||||
reinitializeFromFile();
|
reinitializeFromFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user