예제 #1
0
        /// <summary>
        /// The given breakpoint has been bound to the VM.
        /// </summary>
        internal void OnBound(IDebugBreakpoint breakpoint)
        {
            DLog.Debug(DContext.VSDebuggerComCall, "DebugBoundBreakpoint.OnBound");

            // Check parameters
            if (this.breakpoint != breakpoint)
            {
                throw new ArgumentException("Unknown breakpoint");
            }

            // Record in pending breakpoint
            pendingBreakpoint.AddBoundBreakpoint(this);

            // Notify VS
            breakpointManager.OnBound(pendingBreakpoint);
        }