コード例 #1
0
ファイル: EngineCallback.cs プロジェクト: aonorin/MIEngine
        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
            }
        }
コード例 #2
0
ファイル: EngineCallback.cs プロジェクト: kelltrick/MIEngine
        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
            }
        }
コード例 #3
0
ファイル: EngineCallback.cs プロジェクト: aonorin/MIEngine
        public void OnProgramDestroy(uint exitCode)
        {
            AD7ProgramDestroyEvent eventObject = new AD7ProgramDestroyEvent(exitCode);

            Send(eventObject, AD7ProgramDestroyEvent.IID, null);
        }
コード例 #4
0
ファイル: EngineCallback.cs プロジェクト: wesrupert/MIEngine
 public void OnProgramDestroy(uint exitCode)
 {
     AD7ProgramDestroyEvent eventObject = new AD7ProgramDestroyEvent(exitCode);
     Send(eventObject, AD7ProgramDestroyEvent.IID, null);
 }
コード例 #5
0
ファイル: EngineCallback.cs プロジェクト: wesrupert/MIEngine
        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
            }
        }
コード例 #6
0
ファイル: EngineCallback.cs プロジェクト: enginekit/MIEngine
        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
            }
        }