Ejemplo n.º 1
0
        public O2MDbg(O2Thread.FuncVoid onShellStart)            
        {
            if (DI.o2MDbg != null)
                DI.log.error("DI.o2MDbg != null, and we should only have one instance of the O2MDbg per AppDomain, so this will override that one (and some data might be lost)");
            DI.o2MDbg = this;                              
            
            sessionData = new O2MDbgSessionData(this);
            BreakPoints = new O2MDbgBreakPoint(this);
            LogInternalMDbgMessage = false;
            LogCommandExecutionMessage = true;
            AnimateOnStepEvent = false;
            AutoContinueOnBreakPointEvent = false;
            LogBreakpointEvent = true;
            debugggerActive = false;
            debugggerRunning = false;

            startMDbg(onShellStart);   
        }
        public O2MDbg(O2Thread.FuncVoid onShellStart)
        {
            if (DI.o2MDbg != null)
            {
                DI.log.error("DI.o2MDbg != null, and we should only have one instance of the O2MDbg per AppDomain, so this will override that one (and some data might be lost)");
            }
            DI.o2MDbg = this;

            sessionData                   = new O2MDbgSessionData(this);
            BreakPoints                   = new O2MDbgBreakPoint(this);
            LogInternalMDbgMessage        = false;
            LogCommandExecutionMessage    = true;
            AnimateOnStepEvent            = false;
            AutoContinueOnBreakPointEvent = false;
            LogBreakpointEvent            = true;
            debugggerActive               = false;
            debugggerRunning              = false;

            startMDbg(onShellStart);
        }