Commit 9030e34d authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Debugger: Fix crash when interrupting while waiting for locals



Change-Id: I9c8fbe14d238b2c2526598d4cbca561c7e9a5d0e
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent babb49b0
......@@ -2030,7 +2030,11 @@ void DebuggerEngine::checkState(DebuggerState state, const char *file, int line)
bool DebuggerEngine::isNativeMixedEnabled() const
{
return runParameters().nativeMixedEnabled && (runParameters().languages & QmlLanguage);
if (DebuggerRunTool *rt = runTool()) {
const DebuggerRunParameters &runParams = rt->runParameters();
return runParams.nativeMixedEnabled && (runParams.languages & QmlLanguage);
}
return false;
}
bool DebuggerEngine::isNativeMixedActive() const
......
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