Ejemplo n.º 1
0
        public static void Run(bool install, string pipes, string ports, string password, string terminalTemplate)
        {
            if (pipes != null)
            {
                ConsoleMirror.StartClient(pipes);
            }
            else
            {
                if (install)
                {
                    Installer.Install();
                }

                UI.Clear();

                MonoLogger.Setup();

                using (debugServer = new MonoDebugServer(false, ports, password, terminalTemplate)) {
                    debugServer.KeyPress += HandleKey;
                    debugServer.StartKeyInput();
                    debugServer.StartAnnouncing();
                    debugServer.Start();
                    debugServer.WaitForExit();
                }
            }
        }
Ejemplo n.º 2
0
        private static void Main(string[] args)
        {
            MonoLogger.Setup();

            using (var server = new MonoDebugServer())
            {
                server.StartAnnouncing();
                server.Start();

                server.WaitForExit();
            }
        }
Ejemplo n.º 3
0
        private static void Main(string[] args)
        {
            MonoLogger.Setup();

            MonoUtils.EnsurePdb2MdbCallWorks();

            using (var server = new MonoDebugServer())
            {
                server.StartAnnouncing();
                server.Start();

                server.WaitForExit();
            }
        }
Ejemplo n.º 4
0
        private static void Main(string[] args)
        {
            Console.WriteLine($"MonoRemoteDebugger.Server v{Assembly.GetExecutingAssembly().GetName().Version.ToString(3)}");

            MonoLogger.Setup();

            MonoUtils.EnsurePdb2MdbCallWorks();

            using (var server = new MonoDebugServer())
            {
                server.StartAnnouncing();
                server.Start();

                server.WaitForExit();
            }
        }