Emul8.Peripherals.CPU.TranslationCPU.StartGdbServer C# (CSharp) 메소드

StartGdbServer() 공개 메소드

public StartGdbServer ( int port ) : void
port int
리턴 void
        public void StartGdbServer(int port)
        {
            if(IsGdbServerCreated)
            {
                throw new RecoverableException(string.Format("GDB server already started for this cpu on port: {0}", stub.Port));
            }

            try
            {
                stub = new GdbStub(port, this);
            }
            catch(SocketException e)
            {
                throw new RecoverableException(string.Format("Could not start GDB server: {0}", e.Message));
            }
        }
TranslationCPU