Пример #1
0
 public void RunBeforeTests()
 {
     _debugger = new WinDbgWrapper(Const.PathToEngine, null);
     _api      = new DebuggerApi(_debugger);
     Environment.CurrentDirectory = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "..\\..\\test-debuggees\\cpp\\src");
     _debugger.ProcessExited     += (a, b) => _hasExited = true;
 }
Пример #2
0
        private void InitializeDebugger(string[] symbolsPath = null)
        {
            var options = new WinDbgOptions(Const.PathToEngine, null, symbolsPath);

            _debugger = new WinDbgWrapper(options);
            _api      = new DebuggerApi(_debugger);
            Environment.CurrentDirectory = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "..\\..\\test-debuggees\\rust\\src");
            _debugger.ProcessExited     += (a, b) => _hasExited = true;
        }