Ejemplo n.º 1
0
        public MDbgIO(MDbgShell shell, string[] startupCommands)
        {
            Debug.Assert(shell != null);
            m_shell = shell;

            Console.CancelKeyPress += new ConsoleCancelEventHandler(this.ConsoleBreakHandler);

            if (startupCommands != null && startupCommands.Length > 0)
            {
                m_startupCommands = new Queue(startupCommands);
            }
        }
Ejemplo n.º 2
0
    public static int Main(string[] args)
    {
        if (args.Length > 0)
        {
            switch (args[0])
            {
                case "/?":
                case "-?":
                    Console.WriteLine(usageString);
                    return 0;
            }
        }

        MDbgShell shell = new MDbgShell();
        return shell.Start(args);
    }
Ejemplo n.º 3
0
        public MDbgIO(MDbgShell shell, string[] startupCommands)
        {
            Debug.Assert(shell != null);
            m_shell = shell;

            Console.CancelKeyPress += new ConsoleCancelEventHandler(this.ConsoleBreakHandler);

            if (startupCommands != null && startupCommands.Length > 0)
            {
                m_startupCommands = new Queue(startupCommands);
            }
        }