Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.debug.core.cdi.model
Interface ICDIWatchpoint

All Superinterfaces:
ICDIBreakpoint, ICDIObject

public interface ICDIWatchpoint
extends ICDIBreakpoint

Represents a watchpoint.

Since:
Jul 9, 2002

Field Summary
static int READ
           
static int WRITE
           
 
Fields inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDIBreakpoint
HARDWARE, REGULAR, TEMPORARY
 
Method Summary
 String getWatchExpression()
          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.cdi.model.ICDIBreakpoint
getCondition, isEnabled, isHardware, isTemporary, setCondition, setEnabled
 
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDIObject
getTarget
 

Field Detail

WRITE

static final int WRITE
See Also:
Constant Field Values

READ

static final int READ
See Also:
Constant Field Values
Method Detail

isWriteType

boolean isWriteType()
Returns whether this watchppoint is a write watchpoint.

Returns:
whether this watchppoint is a write watchpoint

isReadType

boolean isReadType()
Returns whether this watchppoint is a read watchpoint.

Returns:
whether this watchppoint is a read watchpoint

getWatchExpression

String getWatchExpression()
                          throws CDIException
Returns the watchpoint's expression.

Returns:
the expression of this watchpoint
Throws:
CDIException - if this method fails. Reasons include:

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.