|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A breakpoint on a field. If a watchpoint is an access watchpoint, it will suspend execution when its field is accessed. If a watchpoint is a modification watchpoint, it will suspend execution when its field is modified.
Clients are not intended to implement this interface.
Field Summary |
Fields inherited from interface org.eclipse.jdt.debug.core.IJavaBreakpoint |
SUSPEND_THREAD, SUSPEND_VM |
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint |
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED |
Method Summary | |
String |
getFieldName()
Returns the name of the field associated with this watchpoint |
boolean |
isAccess()
Returns whether this watchpoint is an access watchpoint |
boolean |
isAccessSuspend(IDebugTarget target)
Returns whether this breakpoint last suspended in this target due to an access ( true ) or modification (false ). |
boolean |
isModification()
Returns whether this watchpoint is a modification watchpoint |
void |
setAccess(boolean access)
Sets whether this breakpoint will suspend execution when its associated field is accessed. |
void |
setModification(boolean modification)
Sets whether this breakpoint will suspend execution when its associated field is modified. |
Methods inherited from interface org.eclipse.jdt.debug.core.IJavaLineBreakpoint |
getCondition, isConditionEnabled, setCondition, setConditionEnabled, supportsCondition |
Methods inherited from interface org.eclipse.jdt.debug.core.IJavaBreakpoint |
getHitCount, getSuspendPolicy, getThreadFilter, getThreadFilters, getTypeName, isInstalled, removeThreadFilter, setHitCount, setSuspendPolicy, setThreadFilter |
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 |
Method Detail |
public boolean isAccess() throws CoreException
CoreException
- if unable to access the property
on this breakpoint's underlying markerpublic void setAccess(boolean access) throws CoreException
access
- whether to suspend on field access
CoreException
- if unable to set the property
on this breakpoint's underlying markerpublic boolean isModification() throws CoreException
CoreException
- if unable to access the property
on this breakpoint's underlying markerpublic void setModification(boolean modification) throws CoreException
modification
- whether to suspend on field modification
CoreException
- if unable to set the property on
this breakpoint's underlying markerpublic String getFieldName() throws CoreException
CoreException
- if unable to access the property on
this breakpoint's underlying markerpublic boolean isAccessSuspend(IDebugTarget target)
true
) or modification (false
).
true
if this watchpoint last suspended the given
target due to a field access; false
if this watchpoint last
suspended the given target due to a modification access or if this
watchpoint hasn't suspended the given target.
|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |