Debugger: Warn on unexpected remote setup transition.

Change-Id: I57ab1953f7251140793d627f974b10f5c30c8fd0
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
David Schulz
2013-09-27 09:47:28 +02:00
committed by hjk
parent f14d4b34e2
commit a1072b10c4

View File

@@ -1045,7 +1045,7 @@ void DebuggerEnginePrivate::doFinishDebugger()
void DebuggerEnginePrivate::setRemoteSetupState(RemoteSetupState state) void DebuggerEnginePrivate::setRemoteSetupState(RemoteSetupState state)
{ {
bool allowedTransition = true; bool allowedTransition = false;
if (m_remoteSetupState == RemoteSetupNone) { if (m_remoteSetupState == RemoteSetupNone) {
if (state == RemoteSetupRequested) if (state == RemoteSetupRequested)
allowedTransition = true; allowedTransition = true;