/// <summary>Attaches the debugger to the given ContextFactory.</summary> /// <remarks>Attaches the debugger to the given ContextFactory.</remarks> public virtual void AttachTo(ContextFactory factory) { Detach(); this.contextFactory = factory; this.listener = new Dim.DimIProxy(this, IPROXY_LISTEN); factory.AddListener(this.listener); }