internal void TerminateDebugger() { // Mark breakpints as deactivated foreach (Breakpoint b in this.Breakpoints) { b.MarkAsDeactivated(); } TraceMessage("Reset done"); corDebug.Terminate(); TraceMessage("ICorDebug terminated"); }
internal void TerminateDebugger() { foreach (Breakpoint breakpoint in this.Breakpoints) { breakpoint.NotifyDebuggerTerminated(); } corDebug.Terminate(); TraceMessage("ICorDebug terminated"); int released = TrackedComObjects.ReleaseAll(); TraceMessage("Released " + released + " tracked COM objects"); }
internal void TerminateDebugger() { MarkBreakpointsAsDeactivated(); TraceMessage("Reset done"); corDebug.Terminate(); TraceMessage("ICorDebug terminated"); Wrappers.ResourceManager.ReleaseAllTrackedCOMObjects(); TraceMessage("Tracked COM objects released"); }
// Closes the debugger. After this method is called, it is an error // to call any other methods on this object. public void Terminate() { if (m_debugger != null) { try { m_debugger.Terminate(); } catch (System.Exception e) { Console.WriteLine("termination error: " + e.Message); } m_debugger = null; } }
internal void TerminateDebugger() { ResetBreakpoints(); TraceMessage("Reset done"); corDebug.Terminate(); TraceMessage("ICorDebug terminated"); Wrappers.ResourceManager.TraceMessagesEnabled = true; Wrappers.ResourceManager.ReleaseAllTrackedCOMObjects(); Wrappers.ResourceManager.TraceMessagesEnabled = false; TraceMessage("Tracked COM objects released"); }
internal void TerminateDebugger() { // Mark breakpints as deactivated foreach (Breakpoint b in this.Breakpoints) { b.MarkAsDeactivated(); } TraceMessage("Reset done"); corDebug.Terminate(); TraceMessage("ICorDebug terminated"); int released = TrackedComObjects.ReleaseAll(); TraceMessage("Released " + released + " tracked COM objects"); }