protected void _FinishDebugger() { logger.Debug("_FinishDebugger"); _StopDebugger(); if (_systemDebugger != null) { try { _systemDebugger.FinishDebugging(); } catch { } } if (_debugger != null) { try { _debugger.FinishDebugging(); } catch { } _ipcHeartBeatMutex.ReleaseMutex(); _ipcHeartBeatThread.Join(); _ipcHeartBeatThread = null; _ipcHeartBeatMutex = null; } _debugger = null; _systemDebugger = null; if (_debuggerProcess != null) { try { if (!_debuggerProcess.WaitForExit(2000)) { _debuggerProcess.Kill(); } } catch { } _debuggerProcess.Close(); _debuggerProcess = null; } }
protected void _FinishDebugger() { _StopDebugger(); if (_systemDebugger != null) { try { _systemDebugger.FinishDebugging(); } catch { } } if (_debugger != null) { try { _debugger.FinishDebugging(); } catch { } } _debugger = null; _systemDebugger = null; if (_debuggerProcess != null) { try { if (!_debuggerProcess.WaitForExit(2000)) { _debuggerProcess.Kill(); } } catch { } _debuggerProcess.Close(); _debuggerProcess = null; } }