public void Detach() { this.EnsureAttachedToProcess(); this.currentDataTarget.DebuggerInterface.DetachProcesses(); this.currentDataTarget.Dispose(); this.currentProcess = null; this.currentClrRuntime = null; this.currentDataTarget = null; }