Exemplo n.º 1
0
        public void OnThreadStart(AD7Thread 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 (m_engine.DebuggedProcess != null)
            //{
            //    System.Diagnostics.Debug.Assert(Worker.CurrentThreadId == m_engine.DebuggedProcess.PollThreadId);
            //}

            AD7ThreadCreateEvent eventObject = new AD7ThreadCreateEvent();

            Send(eventObject, AD7ThreadCreateEvent.IID, debuggedThread);
        }
Exemplo n.º 2
0
        internal static void Send(AD7Engine engine, IDebugThread2 aThread)
        {
            var eventObject = new AD7ThreadCreateEvent();

            engine.Callback.Send(eventObject, IID, aThread);
        }
Exemplo n.º 3
0
 internal static void Send(AD7Engine engine, IDebugThread2 aThread)
 {
     var eventObject = new AD7ThreadCreateEvent();
     engine.Callback.Send(eventObject, IID, aThread);
 }
Exemplo n.º 4
0
    public void OnThreadStart(AD7Thread 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 (m_engine.DebuggedProcess != null)
      //{
      //    System.Diagnostics.Debug.Assert(Worker.CurrentThreadId == m_engine.DebuggedProcess.PollThreadId);
      //}

      AD7ThreadCreateEvent eventObject = new AD7ThreadCreateEvent();
      Send(eventObject, AD7ThreadCreateEvent.IID, debuggedThread);
    }