public void OnThreadStart(DebuggedThread debuggedThread) { // This will get called when the entrypoint breakpoint is fired because the engine sends a thread start event // for the main thread of the application. if (_engine.DebuggedProcess != null) { Debug.Assert(_engine.DebuggedProcess.WorkerThread.IsPollThread()); } AD7ThreadCreateEvent eventObject = new AD7ThreadCreateEvent(); Send(eventObject, AD7ThreadCreateEvent.IID, (IDebugThread2)debuggedThread.Client); }
internal static void Send(AD7Engine engine) { AD7ThreadCreateEvent eventObject = new AD7ThreadCreateEvent(); engine.Callback.Send(eventObject, IID, engine, null); }