/// <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); }
public void OnProgramDestroy(uint exitCode) { AD7ProgramDestroyEvent eventObject = new AD7ProgramDestroyEvent(exitCode); Send(eventObject, AD7ProgramDestroyEvent.IID, null); }
internal static void Send(AD7Engine engine, uint exitCode) { var eventObject = new AD7ProgramDestroyEvent(exitCode); engine.Callback.Send(eventObject, IID, null); }
public void OnProcessExit(uint exitCode) { // Debug.Assert(GDBParser.CurrentThreadId == m_engine.DebuggedProcess.PollThreadId); AD7ProgramDestroyEvent eventObject = new AD7ProgramDestroyEvent(exitCode); Send(eventObject, AD7ProgramDestroyEvent.IID, null); }