Commit 216cb89b authored by Kai Koehne's avatar Kai Koehne Committed by con
Browse files

QmlDebug: Fix 'Interrupt' functionality for mixed debugging

Make sure that m_inferiorPid is initialized even when the CppEngine
is not the main one, and therefore startDebugger() not called on it.
Otherwise the engine tries to send a SIGINT signal to an arbirary
process ID, resulting in the debugging being stopped.

Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-4716
parent 1b6b95af
......@@ -168,6 +168,7 @@ public:
m_state(DebuggerNotReady),
m_lastGoodState(DebuggerNotReady),
m_targetState(DebuggerNotReady),
m_inferiorPid(0),
m_modulesHandler(),
m_registerHandler(),
m_sourceFilesHandler(),
......
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