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

            Console.CancelKeyPress += ConsoleBreakHandler;

            if (startupCommands != null && startupCommands.Length > 0)
            {
                m_startupCommands = new Queue(startupCommands);
            }
        }
Exemplo n.º 2
0
 public void startMDbg(O2Thread.FuncVoid onShellStart)
 {
     if (shell == null)
         O2Thread.mtaThread(() =>
         {
             setMDbgEventsMessagesCallbacks();
             shell = new MDbgShell();                    
             shell.Start(new string[0]);
             setO2MDbgShellCallbacks();
             o2MdbgIsReady.Set();
             if (onShellStart != null)
                 onShellStart();
         });
 }
        public MDbgIO(MDbgShell shell, string[] startupCommands)
        {
            Debug.Assert(shell != null);
            m_shell = shell;

            Console.CancelKeyPress += ConsoleBreakHandler;

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