Exemplo n.º 1
0
 /// <summary> Puts the process into a paused state </summary>
 internal void NotifyPaused(PausedReason pauseReason)
 {
     AssertRunning();
     pauseSession = new PauseSession(this, pauseReason);
     if (debuggeeState == null)
     {
         debuggeeState = new DebuggeeState(this);
     }
 }
Exemplo n.º 2
0
 /// <summary> Puts the process into a resumed state </summary>
 internal void NotifyResumed(DebuggeeStateAction action)
 {
     AssertPaused();
     pauseSession = null;
     if (action == DebuggeeStateAction.Clear)
     {
         if (debuggeeState == null)
         {
             throw new DebuggerException("Debugee state already cleared");
         }
         debuggeeState = null;
         this.ExpressionsCache.Clear();
     }
 }