/// <summary> /// Underlying program has been terminated. /// </summary> private void OnProgramTerminated(object sender, EventArgs eventArgs) { // Notify process destroy //eventCallback.Send(this, new ProcessDestroyEvent()); // Notify other listeners Terminated.Fire(this); }
/// <summary> /// Terminate the program. /// </summary> public void Terminate() { DLog.Debug(DContext.VSDebuggerComCall, "DebugProcess.Terminate"); // Stop VM const int exitCode = 0; ExitAndDisconnect(exitCode); // Notify listeners Terminated.Fire(this); }
/// <summary> /// Terminate the program. /// </summary> public int Terminate() { DLog.Debug(DContext.VSDebuggerComCall, "IDebugProgram2.Terminate"); // Stop VM const int exitCode = 0; ExitAndDisconnect(exitCode); // Notify listeners Terminated.Fire(this); return(VSConstants.S_OK); }
/// <summary> /// Debugger has disconnected. /// </summary> protected override void OnConnectionLost() { base.OnConnectionLost(); Terminated.Fire(this); }