예제 #1
0
        static void Main(string[] args)
        {
            if (Option.Instance.parseArgs(args))    //verify the proper command line input
            {
                Logger.Instance.clearLog();

                //runs test cases
                if (Option.Instance.test)
                {
                    TestSimulator LETSFINDOUT = new TestSimulator();
                    LETSFINDOUT.IFTHISTHINGWORKS();
                    Logger.Instance.writeLog("TEST: Finished\n\n\n------------------------------");
                }

                Logger.Instance.openTrace();

                // pre-loads a file
                if (Option.Instance.load || Option.Instance.debug)
                {
                    MAKETHISTHINGWORK(Option.Instance.load, Option.Instance.exec, Option.Instance.debug);
                }
            }
        }
예제 #2
0
파일: Program.cs 프로젝트: bmatt468/GDBStub
        static void Main(string[] args)
        {
            if (Option.Instance.parseArgs(args))    //verify the proper command line input
            {
                Logger.Instance.clearLog();

                //runs test cases
                if (Option.Instance.test)
                {
                    TestSimulator LETSFINDOUT = new TestSimulator();
                    LETSFINDOUT.IFTHISTHINGWORKS();
                    Logger.Instance.writeLog("TEST: Finished\n\n\n------------------------------");                    
                }

                Logger.Instance.openTrace();

                // pre-loads a file
                if (Option.Instance.load || Option.Instance.debug)
                {
                    MAKETHISTHINGWORK(Option.Instance.load, Option.Instance.exec, Option.Instance.debug);
                }              
            }           
        }