Eclipse CDT
7.0

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

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

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 event breakpoints

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

Field Summary
static int HARDWARE
          Deprecated. use ICBreakpointTyped.HARDWARE
static int REGULAR
          Deprecated. use ICBreakpointTyped.REGULAR
static int TEMPORARY
          Deprecated. use ICBreakpointTyped.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()
          Deprecated. by ICDIBreakpoint2.getType()
 boolean isTemporary()
          Deprecated. by ICDIBreakpoint2.getType()
 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

@Deprecated
static final int REGULAR
Deprecated. use ICBreakpointTyped.REGULAR

TEMPORARY

@Deprecated
static final int TEMPORARY
Deprecated. use ICBreakpointTyped.TEMPORARY

HARDWARE

@Deprecated
static final int HARDWARE
Deprecated. use ICBreakpointTyped.HARDWARE
Method Detail

isTemporary

@Deprecated
boolean isTemporary()
Deprecated. by ICDIBreakpoint2.getType()

Returns:
whether this breakpoint is temporary

isHardware

@Deprecated
boolean isHardware()
Deprecated. by ICDIBreakpoint2.getType()

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
7.0

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