forked from qt-creator/qt-creator
Debugger: remove redundant info whether to use cpp debugging
Task-number: QTCREATORBUG-20168 Change-Id: I2a0bfba6aea39da443032fd9ab02869cdc508696 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1805,9 +1805,16 @@ bool DebuggerEngine::isNativeMixedActiveFrame() const
|
||||
return frame.language == QmlLanguage;
|
||||
}
|
||||
|
||||
bool DebuggerRunParameters::isCppDebugging() const
|
||||
{
|
||||
return cppEngineType == CdbEngineType
|
||||
|| cppEngineType == GdbEngineType
|
||||
|| cppEngineType == LldbEngineType;
|
||||
}
|
||||
|
||||
bool DebuggerRunParameters::isNativeMixedDebugging() const
|
||||
{
|
||||
return nativeMixedEnabled && isCppDebugging && isQmlDebugging;
|
||||
return nativeMixedEnabled && isCppDebugging() && isQmlDebugging;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user