Esempio n. 1
0
        Debuggee ConnectToDebuggee(string connectionString, string[] symbolPath)
        {
            Debuggee debuggee = null;

            if (_debugKernel)
            {
                debuggee = Debuggee.ConnectToKernel(connectionString);
            }
            else
            {
                debuggee = Debuggee.ConnectToProcessServer(connectionString);
            }

            foreach (string symFolder in symbolPath)
            {
                try
                {
                    debuggee.SymbolPathAppend(symFolder);
                }
                catch (COMException)
                {
                }
            }

            return(debuggee);
        }