public int ExecuteOnThread(IDebugThread2 pThread)
        {
            var thread = (MonoThread)pThread;

            _dispatcher.Queue(() => DebuggedProcess.Execute(thread));
            return(VSConstants.S_OK);
        }
Exemple #2
0
        public int ExecuteOnThread(IDebugThread2 pThread)
        {
            DebugHelper.TraceEnteringMethod();
            var thread = (AD7Thread)pThread;

            _dispatcher.Queue(() => DebuggedProcess.Execute(thread));
            return(VSConstants.S_OK);
        }
Exemple #3
0
        // ExecuteOnThread is called when the SDM wants execution to continue and have
        // stepping state cleared.
        public int ExecuteOnThread(IDebugThread2 pThread)
        {
            Debug.Assert(Worker.MainThreadId == Worker.CurrentThreadId);

            AD7Thread thread = (AD7Thread)pThread;

            m_pollThread.RunOperation(new Operation(delegate
            {
                m_debuggedProcess.Execute(thread.GetDebuggedThread());
            }));

            return(Constants.S_OK);
        }