Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.core.model
Interface IWatchpoint

All Superinterfaces:
IAdaptable, IBreakpoint

public interface IWatchpoint
extends IBreakpoint

A breakpoint that suspends when an associated variable is read or written.

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.

Since:
3.1

Field Summary
 
Fields inherited from interface org.eclipse.debug.core.model. IBreakpoint
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED
 
Method Summary
 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.
 
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
 

Method Detail

isAccess

boolean isAccess()
                 throws 
CoreException
Returns whether this watchpoint will suspend execution when its associated variable is accessed (read).

Returns:
whether this is an access watchpoint
Throws:
CoreException - if unable to access the property on this breakpoint's underlying marker

setAccess

void setAccess(boolean access)
               throws 
CoreException
Sets whether this breakpoint will suspend execution when its associated variable is accessed.

Parameters:
access - whether to suspend on access
Throws:
CoreException - if unable to set the property on this breakpoint's underlying marker or if the capability is not supported

isModification

boolean isModification()
                       throws 
CoreException
Returns whether this watchpoint will suspend execution when its associated variable is written.

Returns:
whether this is a modification watchpoint
Throws:
CoreException - if unable to access the property on this breakpoint's underlying marker

setModification

void setModification(boolean modification)
                     throws 
CoreException
Sets whether this breakpoint will suspend execution when its associated variable is modified.

Parameters:
modification - whether to suspend on modification
Throws:
CoreException - if unable to set the property on this breakpoint's underlying marker or if the capability is not supported

supportsAccess

boolean supportsAccess()
Returns whether this breakpoints supports the capability to suspend when an associated variable is read.

Returns:
whether this breakpoints supports the capability to suspend when an associated variable is read

supportsModification

boolean supportsModification()
Returns whether this breakpoints supports the ability to suspend when an associated variable is written.

Returns:
whether this breakpoints supports the ability to suspend when an associated variable is written

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire