Eclipse CDT
Pre-release 3.0

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

All Known Subinterfaces:
ICDIBreakpointManagement2, ICDITarget, ICDITarget2, ICDIThreadGroup

public interface ICDIBreakpointManagement

Breapoints action on the Target.


Method Summary
 void deleteAllBreakpoints()
          Remove all the breakpoints
 void deleteBreakpoints(ICDIBreakpoint[] breakpoints)
          Remove the breakpoints
 ICDIBreakpoint[] getBreakpoints()
          Return all the breakpoints
 ICDIAddressBreakpoint setAddressBreakpoint(int type, ICDIAddressLocation location, ICDICondition condition, boolean deferred)
          Set an address Breakpoint
 ICDIExceptionpoint setExceptionBreakpoint(String clazz, boolean stopOnThrow, boolean stopOnCatch)
          Set an exception point.
 ICDIFunctionBreakpoint setFunctionBreakpoint(int type, ICDIFunctionLocation location, ICDICondition condition, boolean deferred)
          Set a function breakpoint.
 ICDILineBreakpoint setLineBreakpoint(int type, ICDILineLocation location, ICDICondition condition, boolean deferred)
          Set a line breakpoint.
 ICDIWatchpoint setWatchpoint(int type, int watchType, String expression, ICDICondition condition)
          Set a watchpoint.
 

Method Detail

setLineBreakpoint

public ICDILineBreakpoint setLineBreakpoint(int type,
                                            ICDILineLocation location,
                                            ICDICondition condition,
                                            boolean deferred)
                                     throws CDIException
Set a line breakpoint.

Parameters:
type -
location -
condition -
deferred -
Returns:
Throws:
CDIException

setFunctionBreakpoint

public ICDIFunctionBreakpoint setFunctionBreakpoint(int type,
                                                    ICDIFunctionLocation location,
                                                    ICDICondition condition,
                                                    boolean deferred)
                                             throws CDIException
Set a function breakpoint.

Parameters:
type -
location -
condition -
deferred -
Returns:
Throws:
CDIException

setAddressBreakpoint

public ICDIAddressBreakpoint setAddressBreakpoint(int type,
                                                  ICDIAddressLocation location,
                                                  ICDICondition condition,
                                                  boolean deferred)
                                           throws CDIException
Set an address Breakpoint

Parameters:
type -
location -
condition -
deferred -
Returns:
Throws:
CDIException

setWatchpoint

public ICDIWatchpoint setWatchpoint(int type,
                                    int watchType,
                                    String expression,
                                    ICDICondition condition)
                             throws CDIException
Set a watchpoint.

Parameters:
type -
watchType -
expression -
condition -
Returns:
Throws:
CDIException

setExceptionBreakpoint

public ICDIExceptionpoint setExceptionBreakpoint(String clazz,
                                                 boolean stopOnThrow,
                                                 boolean stopOnCatch)
                                          throws CDIException
Set an exception point.

Parameters:
clazz -
stopOnThrow -
stopOnCatch -
Returns:
Throws:
CDIException

getBreakpoints

public ICDIBreakpoint[] getBreakpoints()
                                throws CDIException
Return all the breakpoints

Returns:
Throws:
CDIException

deleteBreakpoints

public void deleteBreakpoints(ICDIBreakpoint[] breakpoints)
                       throws CDIException
Remove the breakpoints

Parameters:
breakpoints -
Throws:
CDIException

deleteAllBreakpoints

public void deleteAllBreakpoints()
                          throws CDIException
Remove all the breakpoints

Throws:
CDIException

Eclipse CDT
Pre-release 3.0

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