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)
상속: AD7SynchronousEvent, IDebugProgramDestroyEvent2
예제 #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);
        }
예제 #2
0
 public void OnProgramDestroy(uint exitCode)
 {
     AD7ProgramDestroyEvent eventObject = new AD7ProgramDestroyEvent(exitCode);
     Send(eventObject, AD7ProgramDestroyEvent.IID, null);
 }
예제 #3
0
 internal static void Send(AD7Engine engine, uint exitCode)
 {
     var eventObject = new AD7ProgramDestroyEvent(exitCode);
     engine.Callback.Send(eventObject, IID, null);
 }
예제 #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);
        }