Пример #1
0
        public void Detach()
        {
            DeactivateBreakpoints();

            // Detach all processes.
            while (processCollection.Count > 0)
            {
                Process process = processCollection[0];
                process.Detach();
            }
        }
Пример #2
0
        public void Detach()
        {
            // Deactivate breakpoints
            foreach (Breakpoint b in this.Breakpoints)
            {
                b.Deactivate();
            }

            // Detach all processes.
            for (int i = 0; i < this.Processes.Count; ++i)
            {
                Process process = this.Processes[i];
                if (process == null || process.HasExited)
                {
                    continue;
                }
                process.Detach();
            }
        }