public void Break() { AssertRunning(); corProcess.Stop(100); // TODO: Hardcoded value pauseSession = new PauseSession(PausedReason.ForcedBreak); // TODO: Code duplication from enter callback // Remove expired threads and functions foreach (Thread thread in this.Threads) { thread.CheckExpiration(); } Pause(true); }
public void Continue() { try { AssertPaused(); pauseSession.NotifyHasExpired(); pauseSession = null; OnDebuggingResumed(); corProcess.Continue(0); } catch (System.Exception e) { } }
public void NotifyPaused(PauseSession pauseSession) { this.pauseSession = pauseSession; }