Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] [Head:applied] Frame work to deferred Breakpoint (1/2)

Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/ChangeLog,v
retrieving revision 1.264
diff -u -r1.264 ChangeLog
--- ChangeLog	17 Oct 2003 19:23:01 -0000	1.264
+++ ChangeLog	18 Oct 2003 01:10:25 -0000
@@ -1,3 +1,12 @@
+2003-10-17 Alain Magloire
+
+	ICDIBreakpointManager new method
+	setLocationBreakpoint(...., deferred);
+	The new boolean "deferred" indicate if yes or not the breakpoint
+	should be on the deferred list if the setting fails.
+
+	* ICDIBreakpointManager.java
+
 2003-10-17 Mikhail Khodjaiants
 	Core support of the 'Search for duplicate source files' option.
 	* ICSourceLocation.java
Index: src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointManager.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointManager.java,v
retrieving revision 1.6
diff -u -r1.6 ICDIBreakpointManager.java
--- src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointManager.java	27 Jan 2003 03:30:53 -0000	1.6
+++ src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointManager.java	18 Oct 2003 01:10:25 -0000
@@ -77,6 +77,29 @@
 	 * @param condition - the condition or <code>null</code>
 	 * @param threadId - the thread identifier if this is 
 	 * a thread-specific breakpoint or <code>null</code>
+	 * @param deferred - when set to <code>true</code>, if the breakpoint fails
+	 * to be set, it is put a deferred list and the debugger will retry to set
+	 * it when a new Shared library is loaded.
+	 * @return a breakpoint
+	 * @throws CDIException on failure. Reasons include:
+	 */
+	ICDILocationBreakpoint setLocationBreakpoint(
+		int type,
+		ICDILocation location,
+		ICDICondition condition,
+		String threadId, boolean deferred)
+		throws CDIException;
+
+	/**
+	 * Equivalent to :
+	 * setLocationBreakpoint(type, location, condition, threadID, false);
+	 * The breakpoint is not deferred.
+	 * 
+	 * @param type - a combination of TEMPORARY and HARDWARE or REGULAR
+	 * @param location - the location 
+	 * @param condition - the condition or <code>null</code>
+	 * @param threadId - the thread identifier if this is 
+	 * a thread-specific breakpoint or <code>null</code>
 	 * @return a breakpoint
 	 * @throws CDIException on failure. Reasons include:
 	 */



Back to the top