Eclipse CDT
Pre-release 3.0

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

All Superinterfaces:
ICDIObject
All Known Subinterfaces:
ICDIAddressBreakpoint, ICDIExceptionpoint, ICDIFunctionBreakpoint, ICDILineBreakpoint, ICDILocationBreakpoint, ICDIWatchpoint

public interface ICDIBreakpoint
extends ICDIObject

A breakpoint is capable of suspending the execution of a program whenever a certain point in the program is reached. Provides a basic functionality for the location breakpoints, watchpoints, and catchpoints.

Since:
Jul 9, 2002
See Also:
ICDILineBreakpoint, ICDIFunctionBreakpoint, ICDIAddressBreakpoint, ICDIWatchpoint, ICDICatchpoint

Field Summary
static int HARDWARE
           
static int REGULAR
           
static int TEMPORARY
           
 
Method Summary
 ICDICondition getCondition()
          Returns the condition of this breakpoint or null if the breakpoint's condition is not set.
 boolean isEnabled()
          Returns whether this breakpoint is enabled.
 boolean isHardware()
          Returns whether this breakpoint is hardware-assisted.
 boolean isTemporary()
          Returns whether this breakpoint is temporary.
 void setCondition(ICDICondition condition)
          Sets the condition of this breakpoint.
 void setEnabled(boolean enabled)
          Sets the enabled state of this breakpoint.
 
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDIObject
getTarget
 

Field Detail

REGULAR

static final int REGULAR
See Also:
Constant Field Values

TEMPORARY

static final int TEMPORARY
See Also:
Constant Field Values

HARDWARE

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

isTemporary

boolean isTemporary()
Returns whether this breakpoint is temporary.

Returns:
whether this breakpoint is temporary

isHardware

boolean isHardware()
Returns whether this breakpoint is hardware-assisted.

Returns:
whether this breakpoint is hardware-assisted

isEnabled

boolean isEnabled()
                  throws CDIException
Returns whether this breakpoint is enabled.

Returns:
whether this breakpoint is enabled
Throws:
CDIException - if this method fails. Reasons include:

setEnabled

void setEnabled(boolean enabled)
                throws CDIException
Sets the enabled state of this breakpoint. This has no effect if the current enabled state is the same as specified by the enabled parameter.

Parameters:
enabled - - whether this breakpoint should be enabled
Throws:
CDIException - if this method fails. Reasons include:

getCondition

ICDICondition getCondition()
                           throws CDIException
Returns the condition of this breakpoint or null if the breakpoint's condition is not set.

Returns:
the condition of this breakpoint
Throws:
CDIException - if this method fails. Reasons include:

setCondition

void setCondition(ICDICondition condition)
                  throws CDIException
Sets the condition of this breakpoint.

Parameters:
the - condition to set
Throws:
CDIException - if this method fails. Reasons include:

Eclipse CDT
Pre-release 3.0

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