示例#1
0
        public int Step(IDebugThread2 pThread, enum_STEPKIND sk, enum_STEPUNIT Step)
        {
            var thread = (MonoThread)pThread;

            _dispatcher.Queue(() => DebuggedProcess.Step(thread, sk));
            return(VSConstants.S_OK);
        }
示例#2
0
        public int Step(IDebugThread2 pThread, enum_STEPKIND sk, enum_STEPUNIT stepUnit)
        {
            DebugHelper.TraceEnteringMethod();
            var thread = (AD7Thread)pThread;

            _dispatcher.Queue(() => DebuggedProcess.Step(thread, sk, stepUnit));
            return(VSConstants.S_OK);
        }
示例#3
0
        // This method is deprecated. Use the IDebugProcess3::Step method instead.
        public int Step(IDebugThread2 pThread, enum_STEPKIND sk, enum_STEPUNIT Step)
        {
            Debug.Assert(Worker.MainThreadId == Worker.CurrentThreadId);

            AD7Thread thread = (AD7Thread)pThread;

            // RunOperationAsync
            m_pollThread.RunOperation(new Operation(delegate
            {
                m_debuggedProcess.Step(thread.GetDebuggedThread(), (int)sk, (int)Step);
            }));

            return(Constants.S_OK);
        }