Esempio n. 1
0
 private void OnLogStreamOutput(string cmd)
 {
     if (_consoleCommandOutput == null)
     {
         // We see this in the transport diagnostics, we don't need to see it anywhere else
     }
     else
     {
         string decodedOutput = MIResults.ParseCString(cmd);
         _consoleCommandOutput.Append(decodedOutput);
     }
 }
Esempio n. 2
0
        private void OnDebuggeeOutput(string cmd)
        {
            string decodedOutput = MIResults.ParseCString(cmd);

            if (_consoleCommandOutput == null)
            {
                if (OutputStringEvent != null)
                {
                    OutputStringEvent(this, decodedOutput);
                }
            }
            else
            {
                _consoleCommandOutput.Append(decodedOutput);
            }
        }
Esempio n. 3
0
 private void OnOutOfBand(string cmd)
 {
     if (cmd.StartsWith("stopped,", StringComparison.Ordinal))
     {
         string status = MIResults.ParseCString(cmd.Substring(8));
         OnStateChanged("stopped", status);
     }
     else if (cmd.StartsWith("running,", StringComparison.Ordinal))
     {
         string status = MIResults.ParseCString(cmd.Substring(8));
         OnStateChanged("running", status);
     }
     else
     {
         Debug.Fail("Unknown out-of-band msg: " + cmd);
     }
 }