Ejemplo n.º 1
0
        public int Delete()
        {
            if (_deleted)
            {
                return(AD7Constants.E_BP_DELETED);
            }

            _deleted = true;
            if (_lldbBreakpoint != null)
            {
                _breakpointManager.RemovePendingBreakpoint(Self);
                _target.BreakpointDelete(_lldbBreakpoint.GetId());
                _lldbBreakpoint = null;
            }
            foreach (IBoundBreakpoint boundBreakpoint in _boundBreakpoints.Values)
            {
                boundBreakpoint.Delete();
            }
            _boundBreakpoints.Clear();
            return(VSConstants.S_OK);
        }