public interface IWatchpoint extends IBreakpoint
Clients may implement this interface. Clients are not required to implement this interface to implement watchpoints, but those that do inherit default rendering of images for watchpoints from the debug platform's default label provider and actions to toggle access and modification properties of a watchpoint.
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED
Modifier and Type | Method and Description |
---|---|
boolean |
isAccess()
Returns whether this watchpoint will suspend execution when its associated
variable is accessed (read).
|
boolean |
isModification()
Returns whether this watchpoint will suspend execution when its associated
variable is written.
|
void |
setAccess(boolean access)
Sets whether this breakpoint will suspend execution when its associated
variable is accessed.
|
void |
setModification(boolean modification)
Sets whether this breakpoint will suspend execution when its associated
variable is modified.
|
boolean |
supportsAccess()
Returns whether this breakpoints supports the capability to suspend
when an associated variable is read.
|
boolean |
supportsModification()
Returns whether this breakpoints supports the ability to suspend
when an associated variable is written.
|
delete, getMarker, getModelIdentifier, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered
getAdapter
boolean isAccess() throws CoreException
CoreException
- if unable to access the property
on this breakpoint's underlying markervoid setAccess(boolean access) throws CoreException
access
- whether to suspend on accessCoreException
- if unable to set the property on this breakpoint's
underlying marker or if the capability is not supportedboolean isModification() throws CoreException
CoreException
- if unable to access the property
on this breakpoint's underlying markervoid setModification(boolean modification) throws CoreException
modification
- whether to suspend on modificationCoreException
- if unable to set the property on
this breakpoint's underlying marker or if the capability is not supportedboolean supportsAccess()
boolean supportsModification()
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.