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
Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public void OnProgramDestroy(uint exitCode)
 {
     AD7ProgramDestroyEvent eventObject = new AD7ProgramDestroyEvent(exitCode);
     Send(eventObject, AD7ProgramDestroyEvent.IID, null);
 }
Exemplo n.º 3
0
 internal static void Send(AD7Engine engine, uint exitCode)
 {
     var eventObject = new AD7ProgramDestroyEvent(exitCode);
     engine.Callback.Send(eventObject, IID, null);
 }
Exemplo n.º 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);
        }