Esempio n. 1
0
        public int Continue(IDebugThread2 pThread)
        {
            // VS Code currently isn't providing a thread Id in certain cases. Work around this by handling null values.
            AD7Thread thread = pThread as AD7Thread;

            _dispatcher.Queue(() => DebuggedProcess.Continue(thread?.GetDebuggedThread()));
            return(VSConstants.S_OK);
        }
Esempio n. 2
0
        // Continue is called from the SDM when it wants execution to continue in the debugee
        // but have stepping state remain. An example is when a tracepoint is executed,
        // and the debugger does not want to actually enter break mode.
        public int Continue(IDebugThread2 pThread)
        {
            Debug.Assert(Worker.MainThreadId == Worker.CurrentThreadId);

            AD7Thread thread = (AD7Thread)pThread;

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

            return(Constants.S_OK);
        }
Esempio n. 3
0
        // Update the list of Objects located within a process.
        private void _update_objects(DebuggedProcess dp)
        {
            m_objects.Items.Clear();
            try
            {
                foreach (object o in dp.Objects)
                {
                    m_objects.Items.Add("breakpoint information..." +
                                        o.ToString());
                }
                dp.Continue(false);
            }
            catch (Exception e)
            {
                m_objects.Items.Add(
                    new ListViewItem("error viewing object: " + e.Message));
                throw e;
            }

            m_objects.Columns[0].Width = m_objects.ClientSize.Width;
        }
Esempio n. 4
0
 public int Continue(IDebugThread2 pThread)
 {
     _dispatcher.Queue(() => DebuggedProcess.Continue());
     return(VSConstants.S_OK);
 }