org.eclipse.cdt.debug.core.model
Interface ICWatchpoint
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IBreakpoint, ICBreakpoint, org.eclipse.debug.core.model.ILineBreakpoint
- All Known Implementing Classes:
- CWatchpoint
public interface ICWatchpoint
- extends ICBreakpoint, org.eclipse.debug.core.model.ILineBreakpoint
A watchpoint specific to the C/C++ debug model.
Field Summary |
static java.lang.String |
EXPRESSION
Watchpoint attribute storing the expression associated with this
watchpoint (value "org.eclipse.cdt.debug.core.expression" ). |
static java.lang.String |
READ
Read access watchpoint attribute (value "org.eclipse.cdt.debug.core.read" ). |
static java.lang.String |
WRITE
Write access watchpoint attribute (value "org.eclipse.cdt.debug.core.write" ). |
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint |
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED |
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint |
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED |
Method Summary |
java.lang.String |
getExpression()
Returns the watchpoint's expression. |
boolean |
isReadType()
Returns whether this watchppoint is a read watchpoint. |
boolean |
isWriteType()
Returns whether this watchppoint is a write watchpoint. |
Methods inherited from interface org.eclipse.cdt.debug.core.model.ICBreakpoint |
decrementInstallCount, getCondition, getIgnoreCount, getModule, getSourceHandle, getTargetFilters, getThreadFilters, getThreadId, incrementInstallCount, isConditional, isInstalled, removeTargetFilter, removeThreadFilters, resetInstallCount, setCondition, setIgnoreCount, setModule, setSourceHandle, setTargetFilter, setThreadFilters, setThreadId |
Methods inherited from interface org.eclipse.debug.core.model.IBreakpoint |
delete, getMarker, getModelIdentifier, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Methods inherited from interface org.eclipse.debug.core.model.ILineBreakpoint |
getCharEnd, getCharStart, getLineNumber |
Methods inherited from interface org.eclipse.debug.core.model.IBreakpoint |
delete, getMarker, getModelIdentifier, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
EXPRESSION
static final java.lang.String EXPRESSION
- Watchpoint attribute storing the expression associated with this
watchpoint (value
"org.eclipse.cdt.debug.core.expression"
).
This attribute is a String
.
- See Also:
- Constant Field Values
WRITE
static final java.lang.String WRITE
- Write access watchpoint attribute (value
"org.eclipse.cdt.debug.core.write"
).
This attribute is a boolean
.
- See Also:
- Constant Field Values
READ
static final java.lang.String READ
- Read access watchpoint attribute (value
"org.eclipse.cdt.debug.core.read"
).
This attribute is a boolean
.
- See Also:
- Constant Field Values
isWriteType
boolean isWriteType()
throws org.eclipse.core.runtime.CoreException
- Returns whether this watchppoint is a write watchpoint.
- Returns:
- whether this watchppoint is a write watchpoint
- Throws:
org.eclipse.core.runtime.CoreException
isReadType
boolean isReadType()
throws org.eclipse.core.runtime.CoreException
- Returns whether this watchppoint is a read watchpoint.
- Returns:
- whether this watchppoint is a read watchpoint
- Throws:
org.eclipse.core.runtime.CoreException
getExpression
java.lang.String getExpression()
throws org.eclipse.core.runtime.CoreException
- Returns the watchpoint's expression.
- Returns:
- the expression of this watchpoint
- Throws:
CDIException
- if this method fails. Reasons include:
org.eclipse.core.runtime.CoreException