public ElfCoreDumpInitialization(string dumpPath, string defaultModuleName, string symbolPath = DefaultDumpPath) : base(dumpPath, defaultModuleName, TestBase.GetAbsoluteBinPath(symbolPath)) { IDebuggerEngine engine = new ElfCoreDumpDebuggingEngine(DumpPath); Context.InitializeDebugger(engine); }
/// <summary> /// Initializes debugger for processing the specified dump. /// </summary> /// <param name="dumpPath">Path to the dump.</param> /// <param name="symbolPaths">Array of paths where debugger will look for symbols.</param> public static void OpenDump(string dumpPath, params string[] symbolPaths) { try { IDebugClient debugClient = DebugClient.OpenDumpFile(dumpPath, string.Join(";", symbolPaths)); InitializeDbgEng(debugClient); } catch { IDebuggerEngine engine = new ElfCoreDumpDebuggingEngine(dumpPath); Context.InitializeDebugger(engine); } }