Commit 7dc2cb9d authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk

Debugger: Support only C++ on Windows post-mortem debugging

Change-Id: Idc759cb0a5a64fe33ea54eb4d0bf21df2a651bd9
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent 309da0b4
......@@ -1173,6 +1173,7 @@ bool DebuggerPluginPrivate::parseArgument(QStringList::const_iterator &it,
}
DebuggerRunParameters rp;
rp.startMode = AttachCrashedExternal;
rp.languages = CppLanguage;
rp.crashParameter = it->section(QLatin1Char(':'), 0, 0);
rp.attachPID = it->section(QLatin1Char(':'), 1, 1).toULongLong();
rp.displayName = tr("Crashed process %1").arg(rp.attachPID);
......
......@@ -485,13 +485,14 @@ void DebuggerRunControlCreator::enrich(const RunConfiguration *runConfig, const
m_rp.masterEngineType = QmlEngineType;
service = QmlDebug::QmlDebuggerServices;
}
if (m_rp.startMode != AttachExternal)
if (m_rp.startMode != AttachExternal && m_rp.startMode != AttachCrashedExternal) {
QtcProcess::addArg(&m_rp.inferior.commandLineArguments,
(m_rp.languages & CppLanguage) && m_rp.nativeMixedEnabled ?
QmlDebug::qmlDebugNativeArguments(service, false) :
QmlDebug::qmlDebugTcpArguments(service, m_rp.qmlServerPort));
}
}
}
if (m_rp.masterEngineType == NoEngineType)
m_rp.masterEngineType = m_rp.cppEngineType;
......
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