Commit ba2b210b authored by David Schulz's avatar David Schulz
Browse files

Debugger: Fix crash when attaching to already running application.

Change-Id: Ie6b28d14c6e8c49b9d8307c528807add82d3a57b
Reviewed-by: default avatarhjk <>
parent d5c29ada
......@@ -442,7 +442,7 @@ void DebuggerRunControlCreator::enrich(const RunConfiguration *runConfig, const
if (m_rp.displayName.isEmpty() && m_runConfig)
m_rp.displayName = m_runConfig->displayName();
if (runConfig->property("supportsDebugger").toBool()) {
if (runConfig && runConfig->property("supportsDebugger").toBool()) {
QString mainScript = runConfig->property("mainScript").toString();
QString interpreter = runConfig->property("interpreter").toString();
if (!interpreter.isEmpty() && mainScript.endsWith(_(".py"))) {
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