public void OnProcessExit(uint exitCode) { AD7ProgramDestroyEvent eventObject = new AD7ProgramDestroyEvent(exitCode); try { Send(eventObject, AD7ProgramDestroyEvent.IID, null); } catch (InvalidOperationException) { // If debugging has already stopped, this can throw } }
public void OnProcessExit(uint exitCode) { Debug.Assert(_engine.DebuggedProcess.WorkerThread.IsPollThread()); AD7ProgramDestroyEvent eventObject = new AD7ProgramDestroyEvent(exitCode); try { Send(eventObject, AD7ProgramDestroyEvent.IID, null); } catch (InvalidOperationException) { // If debugging has already stopped, this can throw } }
public void OnProgramDestroy(uint exitCode) { AD7ProgramDestroyEvent eventObject = new AD7ProgramDestroyEvent(exitCode); Send(eventObject, AD7ProgramDestroyEvent.IID, null); }