|
Eclipse JDT Release 3.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(org.eclipse.debug.core.model.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, isConditionSuspendOnTrue, setCondition, setConditionEnabled, setConditionSuspendOnTrue, supportsCondition |
| Methods inherited from interface org.eclipse.jdt.debug.core.IJavaBreakpoint |
addInstanceFilter, getHitCount, getInstanceFilters, getSuspendPolicy, getThreadFilter, getThreadFilters, getTypeName, isInstalled, removeInstanceFilter, removeThreadFilter, setHitCount, setSuspendPolicy, setThreadFilter, supportsInstanceFilters, supportsThreadFilters |
| 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 org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException - if unable to access the property
on this breakpoint's underlying marker
public void setAccess(boolean access)
throws org.eclipse.core.runtime.CoreException
access - whether to suspend on field access
org.eclipse.core.runtime.CoreException - if unable to set the property
on this breakpoint's underlying marker
public boolean isModification()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException - if unable to access the property
on this breakpoint's underlying marker
public void setModification(boolean modification)
throws org.eclipse.core.runtime.CoreException
modification - whether to suspend on field modification
org.eclipse.core.runtime.CoreException - if unable to set the property on
this breakpoint's underlying marker
public String getFieldName()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException - if unable to access the property on
this breakpoint's underlying markerpublic boolean isAccessSuspend(org.eclipse.debug.core.model.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 Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||