int IDebugBoundBreakpoint2.SetCondition(BP_CONDITION bpCondition) { _breakpoint.SetCondition(bpCondition.styleCondition.ToPython(), bpCondition.bstrCondition); return(VSConstants.S_OK); }
// The sample engine does not support conditions on breakpoints. // A real-world debugger will use this to specify when a breakpoint will be hit // and when it should be ignored. int IDebugBoundBreakpoint2.SetCondition(BP_CONDITION bpCondition) { _breakpoint.SetCondition(bpCondition.bstrCondition, bpCondition.styleCondition == enum_BP_COND_STYLE.BP_COND_WHEN_CHANGED ? true : false); return(VSConstants.S_OK); }