private void ProcessStopRecord(string data)
{
CurrentState = DebuggerState.Paused;
var stopRecord = StopRecord.FromArgumentList(data.ToNameValuePairs());
if (InternalStopped != null)
{
InternalStopped(this, stopRecord);
}
if (Stopped != null && StoppedEventIsEnabled)
{
Task.Factory.StartNew(() => { Stopped(this, stopRecord); });
}
}