Eclipse CDT
Pre-release 3.0

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

All Superinterfaces:
ICDIBreakpointManagement, ICDIExecuteStep, ICDIObject, ICDISignalManagement, ICDISuspend
All Known Subinterfaces:
ICDITarget

public interface ICDIThreadGroup
extends ICDIBreakpointManagement, ICDIExecuteStep, ICDISuspend, ICDISignalManagement, ICDIObject


Method Summary
 ICDIThread getCurrentThread()
          Returns the currently selected thread.
 ICDIThread[] getThreads()
          Returns the threads contained in this target.
 void resume(boolean passSignal)
          Causes this target to resume its execution.
 void resume(ICDILocation location)
          Resume execution at location.
 void resume(ICDISignal signal)
          Resume execution where the program stopped but immediately give the signal.
 
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDIBreakpointManagement
deleteAllBreakpoints, deleteBreakpoints, getBreakpoints, setAddressBreakpoint, setExceptionBreakpoint, setFunctionBreakpoint, setLineBreakpoint, setWatchpoint
 
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDIExecuteStep
stepInto, stepIntoInstruction, stepOver, stepOverInstruction, stepUntil
 
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDISuspend
isSuspended, suspend
 
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDISignalManagement
getSignals
 
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDIObject
getTarget
 

Method Detail

getThreads

ICDIThread[] getThreads()
                        throws CDIException
Returns the threads contained in this target. An empty collection is returned if this target contains no threads.

Returns:
a collection of threads
Throws:
CDIException - if this method fails. Reasons include:

getCurrentThread

ICDIThread getCurrentThread()
                            throws CDIException
Returns the currently selected thread.

Returns:
the currently selected thread
Throws:
CDIException - if this method fails. Reasons include:

resume

void resume(boolean passSignal)
            throws CDIException
Causes this target to resume its execution. if passSignal is fase and the target was suspended by a signal when resuming the signal will be discarded Has no effect on a target that is not suspended.

Parameters:
passSignal - whether to discar the signal
Throws:
CDIException - if this method fails. Reasons include:

resume

void resume(ICDILocation location)
            throws CDIException
Resume execution at location. Note the method does not change stackframe. The result is undefined if it jumps outside of the stacframe. Can only be called when the associated target is suspended.

Parameters:
location -
Throws:
CDIException - if this method fails. Reasons include:

resume

void resume(ICDISignal signal)
            throws CDIException
Resume execution where the program stopped but immediately give the signal.

Parameters:
signal -
Throws:
CDIException

Eclipse CDT
Pre-release 3.0

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