示例#1
0
        // The debugger calls CauseBreak when the user clicks on the pause button in VS. The debugger should respond by entering
        // breakmode.
        public int CauseBreak()
        {
            Debug.Assert(Worker.MainThreadId == Worker.CurrentThreadId);

            m_pollThread.RunOperation(new Operation(delegate
            {
                m_debuggedProcess.Break();
            }));

            return(Constants.S_OK);
        }
示例#2
0
 public int CauseBreak()
 {
     DebugHelper.TraceEnteringMethod();
     _dispatcher.Queue(() => DebuggedProcess.Break());
     return(VSConstants.S_OK);
 }