diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointManager.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointManager.java index db408f72669..5bc8109cb9d 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointManager.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointManager.java @@ -50,8 +50,26 @@ public interface ICDIBreakpointManager extends ICDISessionObject /** * Sets a breakpoint at the given location. + * The breakpoint is set acording to the choices: + *
+ * if location.getFile() != null then + * if location.getFunction() != null then + * breakpoint = file:function + * else + * breakpoint = file:line + * else if (location.getFuntion() != null) then + * breakpoint = function + * else if (location.getLineNumber() != 0 then + * breakpoint = line + * else + * breakpoint = address + * end + *+ * @see ICDIBreakpoint.TEMPORARY + * @see ICDIBreakpoint.HARDWARE + * @see ICDIBreakpoint.REGULAR * - * @param type - a combination of TEMPORARY and HARDWARE or 0 + * @param type - a combination of TEMPORARY and HARDWARE or REGULAR * @param location - the location * @param condition - the condition or
null
* @param threadId - the thread identifier if this is