예제 #1
0
        internal void TerminateDebugger()
        {
            // Mark breakpints as deactivated
            foreach (Breakpoint b in this.Breakpoints)
            {
                b.MarkAsDeactivated();
            }

            TraceMessage("Reset done");

            corDebug.Terminate();

            TraceMessage("ICorDebug terminated");
        }
예제 #2
0
        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");
        }
예제 #3
0
        internal void TerminateDebugger()
        {
            MarkBreakpointsAsDeactivated();

            TraceMessage("Reset done");

            corDebug.Terminate();

            TraceMessage("ICorDebug terminated");

            Wrappers.ResourceManager.ReleaseAllTrackedCOMObjects();

            TraceMessage("Tracked COM objects released");
        }
예제 #4
0
 // 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;
     }
 }
예제 #5
0
        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");
        }
예제 #6
0
        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");
        }