forked from qt-creator/qt-creator
Debugger: Warn on unexpected remote setup transition.
Change-Id: I57ab1953f7251140793d627f974b10f5c30c8fd0 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user