Example #1
0
        private void CheckAttachDebugger()
        {
            Debug.Assert(m_runConfig != null);

            if (m_runConfig.IsExecutedUnderDebugger)
            {
                Debug.Assert(m_hostSession != null);
                Debug.Assert(m_vsIde != null);

                // Ask Test Runner IDE to attach debugger to Host IDE.
                m_hostSession.AttachDebugger(m_vsIde.Process.Id);
            }
        }