コード例 #1
0
        private void InitDebugging()
        {
            this.configuration = ReadConfiguration(options.Config);
            SymbolCache        = new MDbgSymbolCache();
            Debugger           = new MDbgEngine();
            BreakpointParser   = new DefaultBreakpointParser(this);
            FileLocator        = new MDbgFileLocator();
            SourceFileMgr      = new MDbgSourceFileMgr();
            PdbSymbolCache     = new PdbSymbolCache(configuration.assemblies.Select(a => a.path), this);
            languageUtils      = new List <ILanguageUtil>(new[] { new CSharpLanguageUtil() });

            methodLocators = new Dictionary <string, MethodLocator>();
            foreach (var assembly in configuration.assemblies)
            {
                methodLocators[assembly.path] = new MethodLocator(assembly.path, assembly.language, this);
            }
        }
コード例 #2
0
ファイル: TextShell.cs プロジェクト: EbinJohn/BigBrother
        private void InitDebugging()
        {
            this.configuration = ReadConfiguration(options.Config);
            SymbolCache = new MDbgSymbolCache();
            Debugger = new MDbgEngine();
            BreakpointParser = new DefaultBreakpointParser(this);
            FileLocator = new MDbgFileLocator();
            SourceFileMgr = new MDbgSourceFileMgr();
            PdbSymbolCache = new PdbSymbolCache(configuration.assemblies.Select(a => a.path), this);
            languageUtils = new List<ILanguageUtil>(new[] { new CSharpLanguageUtil() });

            methodLocators = new Dictionary<string, MethodLocator>();
            foreach (var assembly in configuration.assemblies)
            {
                methodLocators[assembly.path] = new MethodLocator(assembly.path, assembly.language, this);
            }
        }