コード例 #1
0
 public DebuggingService()
 {
     executionHandlerFactory = new DebugExecutionHandlerFactory (this);
     #if NET_2_0
     attr_handler = new DebugAttributeHandler();
     #endif
 }
コード例 #2
0
        void Cleanup()
        {
            if (!IsDebugging)
                return;

            if (StoppedEvent != null)
                StoppedEvent (this, new EventArgs ());

            backend.Dispose ();
            backend = null;
            console.Dispose ();
            console = null;
            #if NET_2_0
            attr_handler = null;
            #endif
            proc = null;

            if (ExecutionLocationChanged != null)
                ExecutionLocationChanged (this, EventArgs.Empty);
        }