Skip to content

Commit

Permalink
StopDebuggerOnConnect shouldn't resume execution (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes authored Dec 23, 2020
1 parent b7ade15 commit 2b0491e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions nanoFramework.Tools.DebugLibrary.Shared/WireProtocol/Engine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,6 @@ public async Task<bool> ConnectAsync(
{
SetExecutionMode(Commands.DebuggingExecutionChangeConditions.State.DebuggerQuiet, 0);
}
// resume execution for older clients, since server tools no longer do this.
if (!StopDebuggerOnConnect && (msg != null && msg.Payload == null))
{
ResumeExecution();
}
}
}
}
Expand Down Expand Up @@ -399,12 +393,6 @@ public bool UpdateDebugFlags()
SetExecutionMode(Commands.DebuggingExecutionChangeConditions.State.DebuggerQuiet, 0);
}

// resume execution for older clients, since server tools no longer do this.
if (!StopDebuggerOnConnect && msg?.Payload == null)
{
ResumeExecution();
}

// done here
return true;
}
Expand Down

0 comments on commit 2b0491e

Please sign in to comment.