예제 #1
0
 /// <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);
 }
예제 #2
0
        /// <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);
        }
예제 #3
0
        /// <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);
        }
예제 #4
0
 /// <summary>
 /// Debugger has disconnected.
 /// </summary>
 protected override void OnConnectionLost()
 {
     base.OnConnectionLost();
     Terminated.Fire(this);
 }