Package org.eclipse.debug.core.model
Interface ITriggerPoint
-
- All Superinterfaces:
IAdaptable
- All Known Implementing Classes:
Breakpoint,LineBreakpoint
public interface ITriggerPoint extends IAdaptable
TriggerPoint is a breakpoint property which defines a dependency relationship between all the breakpoints of a workspace and trigger points defined in a workspace. TriggerPoint defines the availability of breakpoints to be suspended based on the order of hits of breakpoints. If there are active TriggerPoints, breakpoints can not be suspended.- Since:
- 3.11
-
-
Field Summary
Fields Modifier and Type Field Description static StringTRIGGERPOINTPersisted breakpoint marker attribute (value"org.eclipse.debug.core.triggerpoint").
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisTriggerPoint()Returns whether this breakpoint is defined as a trigger point in the workspace.voidsetTriggerPoint(boolean trigger)Sets whether this breakpoint is to be treated as a trigger point for the workspace.-
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
-
-
-
Field Detail
-
TRIGGERPOINT
static final String TRIGGERPOINT
Persisted breakpoint marker attribute (value"org.eclipse.debug.core.triggerpoint"). The attribute is abooleancorresponding to whether a breakpoint is a trigger breakpoint for the workspace.
-
-
Method Detail
-
isTriggerPoint
boolean isTriggerPoint() throws CoreExceptionReturns whether this breakpoint is defined as a trigger point in the workspace.- Returns:
- whether this breakpoint is a trigger point
- Throws:
CoreException- if unable to access the associated attribute on this breakpoint's underlying marker
-
setTriggerPoint
void setTriggerPoint(boolean trigger) throws CoreExceptionSets whether this breakpoint is to be treated as a trigger point for the workspace. If it is a trigger point, then theITriggerPointattribute on this breakpoint's marker is set totrue.- Parameters:
trigger- whether this breakpoint is to be treated as trigger point for the workspace- Throws:
CoreException- if unable to set the associated attribute on this breakpoint's underlying marker.
-
-