HDLToolkit.Xilinx.Simulation.ISimProcess.ProcessErrorLine C# (CSharp) Method

ProcessErrorLine() protected method

protected ProcessErrorLine ( string line ) : void
line string
return void
        protected override void ProcessErrorLine(string line)
        {
            //Logger.Instance.WriteDebug("[stderr:{0}]", line);

            // The injection of "echo" commands means that the isim will output a indicator of whether the prompt has returned or not.
            // An echo is inject upon process startup, and again every time a Command is injected (a command from a external caller).
            if (string.Compare(line, "invalid command name \"" + DefaultSyncCommand + "\"") == 0)
            {
                lock (processLock)
                {
                    promptReady = true;
                }
            }
            else
            {
                lock (outputLock)
                {
                    if (commandLog != null)
                    {
                        commandLog.AppendLine(line);
                    }
                }
            }

            base.ProcessErrorLine(line);
        }