This interface is sent by the debug engine (DE) to the session debug manager (SDM) when a program has run to completion or is otherwise destroyed. (http://msdn.microsoft.com/en-ca/library/bb161972.aspx)
Inheritance: AD7SynchronousEvent, IDebugProgramDestroyEvent2
Exemple #1
0
        /// <summary>
        /// Sends the event.
        /// </summary>
        /// <param name="engine"> The AD7Engine object that represents the DE. </param>
        /// <param name="exitCode"> The program's exit code. </param>
        internal static void Send(AD7Engine engine, uint exitCode)
        {
            var eventObject = new AD7ProgramDestroyEvent(exitCode);

            engine.Callback.Send(eventObject, IID, null);
        }
Exemple #2
0
 public void OnProgramDestroy(uint exitCode)
 {
     AD7ProgramDestroyEvent eventObject = new AD7ProgramDestroyEvent(exitCode);
     Send(eventObject, AD7ProgramDestroyEvent.IID, null);
 }
Exemple #3
0
 internal static void Send(AD7Engine engine, uint exitCode)
 {
     var eventObject = new AD7ProgramDestroyEvent(exitCode);
     engine.Callback.Send(eventObject, IID, null);
 }
Exemple #4
0
        public void OnProcessExit(uint exitCode)
        {
            // Debug.Assert(GDBParser.CurrentThreadId == m_engine.DebuggedProcess.PollThreadId);

            AD7ProgramDestroyEvent eventObject = new AD7ProgramDestroyEvent(exitCode);

            Send(eventObject, AD7ProgramDestroyEvent.IID, null);
        }