cdt/cdt_6_0_x/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IBreakpointAttributeTranslator.java
--- a/cdt/cdt_6_0_x/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IBreakpointAttributeTranslator.java Tue Nov 10 09:58:50 2009 -0600
+++ b/cdt/cdt_6_0_x/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IBreakpointAttributeTranslator.java Wed Nov 11 14:48:30 2009 -0600
@@ -33,13 +33,17 @@
public List<Map<String, Object>> getBreakpointAttributes(IBreakpoint breakpoint, boolean bpManagerEnabled) throws CoreException;
+ /**
+ * Whether DSF client can handle the given attribute change itself. If not, DSF will
+ * try to reinstall the breakpoint to apply the change.
+ *
+ * @param bp - can be null.
+ * @param delta
+ * @return
+ */
public boolean canUpdateAttributes(IBreakpointDMContext bp, Map<String, Object> delta);
public boolean supportsBreakpoint(IBreakpoint bp);
- enum EBreakpointStatusChange {
- EInstalled, EUninstalled, EModified
- }
-
- public void updateBreakpointStatus(IBreakpoint bp, EBreakpointStatusChange change);
+ public void updateBreakpointStatus(IBreakpoint bp);
}
\ No newline at end of file