Esempio n. 1
0
 internal void NotifyHasExited()
 {
     if (!hasExited)
     {
         hasExited = true;
         if (Exited != null)
         {
             Exited(this, new ProcessEventArgs(this));
         }
         // Expire pause seesion first
         if (IsPaused)
         {
             NotifyResumed(DebuggeeStateAction.Clear);
         }
         debugger.RemoveProcess(this);
     }
 }
Esempio n. 2
0
        internal void NotifyHasExpired()
        {
            if (!hasExpired)
            {
                hasExpired = true;
                if (Expired != null)
                {
                    Expired(this, new ProcessEventArgs(this));
                }
//				if (PausedReason == PausedReason.Exception) {
//					ExceptionEventArgs args = new ExceptionEventArgs(this, SelectedThread.CurrentException);
//					OnExceptionThrown(args);
////					if (args.Continue) {
////						this.Continue();
////					}
//				}
                debugger.RemoveProcess(this);
            }
        }