Ejemplo n.º 1
0
        public int SetCondition(BP_CONDITION breakpointCondition)
        {
            if (_deleted)
            {
                return(AD7Constants.E_BP_DELETED);
            }
            switch (breakpointCondition.styleCondition)
            {
            case enum_BP_COND_STYLE.BP_COND_NONE:
                _breakpointLocation.SetCondition("");
                break;

            case enum_BP_COND_STYLE.BP_COND_WHEN_TRUE:
                _breakpointLocation.SetCondition(breakpointCondition.bstrCondition);
                break;

            default:
                return(VSConstants.E_NOTIMPL);
            }
            return(VSConstants.S_OK);
        }