diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointHit.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointHit.java new file mode 100644 index 00000000000..e0ca33800e6 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointHit.java @@ -0,0 +1,26 @@ +/* + *(c) Copyright QNX Software Systems Ltd. 2002. + * All Rights Reserved. + * + */ + +package org.eclipse.cdt.debug.core.cdi; + +import org.eclipse.cdt.debug.core.cdi.model.ICDIBreakpoint; + +/** + * + * Represents an information provided by the session when the program + * stopped by a breakpoint. + * + * @since Aug 27, 2002 + */ +public interface ICDIBreakpointHit extends ICDISessionObject +{ + /** + * Returns the breakpoint that stopped the program. + * + * @return the breakpoint that stopped the program + */ + ICDIBreakpoint getBreakpoint(); +} diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIWatchpointScope.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIWatchpointScope.java new file mode 100644 index 00000000000..05a1d202741 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIWatchpointScope.java @@ -0,0 +1,25 @@ +/* + *(c) Copyright QNX Software Systems Ltd. 2002. + * All Rights Reserved. + * + */ +package org.eclipse.cdt.debug.core.cdi; + +import org.eclipse.cdt.debug.core.cdi.model.ICDIWatchpoint; + +/** + * + * Represents an information provided by the session when a watchpoint + * is going out of scope. + * + * @since Aug 27, 2002 + */ +public interface ICDIWatchpointScope extends ICDISessionObject +{ + /** + * Returns the out of scope watchpoint. + * + * @return the watchpoint + */ + ICDIWatchpoint getWatchpoint(); +} diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIWatchpointTrigger.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIWatchpointTrigger.java new file mode 100644 index 00000000000..5a2af67b592 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIWatchpointTrigger.java @@ -0,0 +1,39 @@ +/* + *(c) Copyright QNX Software Systems Ltd. 2002. + * All Rights Reserved. + * + */ +package org.eclipse.cdt.debug.core.cdi; + +import org.eclipse.cdt.debug.core.cdi.model.ICDIWatchpoint; + +/** + * + * Represents an information provided by the session when a watchpoint + * is triggered. + * + * @since Aug 27, 2002 + */ +public interface ICDIWatchpointTrigger extends ICDISessionObject +{ + /** + * Returns the triggered watchpoint. + * + * @return the triggered watchpoint + */ + ICDIWatchpoint getWatchpoint(); + + /** + * Returns the old value of the watching expression. + * + * @return the old value of the watching expression + */ + String getOldValue(); + + /** + * Returns the new value of the watching expression. + * + * @return the new value of the watching expression + */ + String getNewValue(); +}