|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICDITarget
Represents a debuggable process. This is a root object of the CDI model.
Method Summary | |
---|---|
ICDIAddressLocation |
createAddressLocation(BigInteger address)
Returns a ICDIAddressLocation |
ICDICondition |
createCondition(int ignoreCount,
String expression)
Return a ICDICondition |
ICDICondition |
createCondition(int ignoreCount,
String expression,
String[] threadIds)
Return a ICDICondition |
ICDIFunctionLocation |
createFunctionLocation(String file,
String function)
Returns a ICDIFunctionLocation |
ICDIGlobalVariable |
createGlobalVariable(ICDIGlobalVariableDescriptor varDesc)
Create a variable from the descriptor for evaluation. |
ICDILineLocation |
createLineLocation(String file,
int line)
Returns a ICDILineLocation |
ICDIRegister |
createRegister(ICDIRegisterDescriptor varDesc)
Create a variable from the descriptor for evaluation. |
void |
disconnect()
Disconnects this target from the debuggable process. |
String |
evaluateExpressionToString(ICDIStackFrame context,
String expressionText)
Evaluates the expression specified by the given string. |
ICDITargetConfiguration |
getConfiguration()
Returns the configuration description of this debug session. |
ICDIGlobalVariableDescriptor |
getGlobalVariableDescriptors(String filename,
String function,
String name)
A static/global variable in a particular function or file, filename or/and function is the context for the static ICDIVariableDescriptor. |
Process |
getProcess()
Gets the target process. |
ICDIRegisterGroup[] |
getRegisterGroups()
Return the register groups. |
ICDIRuntimeOptions |
getRuntimeOptions()
Returns the Runtime options for this target debug session. |
boolean |
isDisconnected()
Returns whether this target is disconnected. |
boolean |
isTerminated()
Returns whether this target is terminated. |
void |
jump(ICDILocation location)
Deprecated. |
void |
restart()
Restarts the execution of this target. |
void |
resume()
Deprecated. |
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. |
void |
runUntil(ICDILocation location)
Deprecated. |
void |
signal()
Deprecated. |
void |
signal(ICDISignal signal)
Deprecated. |
void |
stepInto()
Deprecated. |
void |
stepIntoInstruction()
Deprecated. |
void |
stepOver()
Deprecated. |
void |
stepOverInstruction()
Deprecated. |
void |
terminate()
Causes this target to terminate. |
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDIThreadGroup |
---|
getCurrentThread, getThreads |
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 |
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDIExpressionManagement |
---|
createExpression, destroyAllExpressions, destroyExpressions, getExpressions |
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDISourceManagement |
---|
getInstructions, getInstructions, getInstructions, getMixedInstructions, getMixedInstructions, getMixedInstructions, getSourcePaths, setSourcePaths |
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDISharedLibraryManagement |
---|
getSharedLibraries |
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDIMemoryBlockManagement |
---|
createMemoryBlock, getMemoryBlocks, removeAllBlocks, removeBlocks |
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.ICDISessionObject |
---|
getSession |
Method Detail |
---|
Process getProcess()
ICDITargetConfiguration getConfiguration()
String evaluateExpressionToString(ICDIStackFrame context, String expressionText) throws CDIException
-
- expression string to be evaluated
CDIException
- if this method fails. Reasons include:ICDIGlobalVariableDescriptor getGlobalVariableDescriptors(String filename, String function, String name) throws CDIException
hello.c: int bar; int main() { static int bar; } file.c: int foo() { static int bar; } getVariableObject(null, null, "bar"); getVariableObject(null, "main", "bar"); getVariableObject("file.c", "foo", "bar");
filename
- function
- name
-
CDIException
ICDIGlobalVariable createGlobalVariable(ICDIGlobalVariableDescriptor varDesc) throws CDIException
varDesc
- ICDIGlobalVariableDescriptor
CDIException
ICDIRegisterGroup[] getRegisterGroups() throws CDIException
CDIException
ICDIRegister createRegister(ICDIRegisterDescriptor varDesc) throws CDIException
varDesc
- ICDThreadStorageDesc
CDIException
boolean isTerminated()
void terminate() throws CDIException
CDIException
- if this method fails. Reasons include:boolean isDisconnected()
void disconnect() throws CDIException
CDIException
- if this method fails. Reasons include:void restart() throws CDIException
CDIException
- if this method fails. Reasons include:void resume() throws CDIException
CDIException
- if this method fails. Reasons include:void stepOver() throws CDIException
CDIException
- if this method fails. Reasons include:ICDIExecuteStep.stepOver(int)
void stepInto() throws CDIException
CDIException
- if this method fails. Reasons include:ICDIExecuteStep.stepInto(int)
void stepOverInstruction() throws CDIException
CDIException
- if this method fails. Reasons include:ICDIExecuteStep.stepOverInstruction(int)
void stepIntoInstruction() throws CDIException
CDIException
- if this method fails. Reasons include:ICDIExecuteStep.stepIntoInstruction(int)
void runUntil(ICDILocation location) throws CDIException
CDIException
- if this method fails. Reasons include:ICDIExecuteStep.stepUntil(ICDILocation)
void jump(ICDILocation location) throws CDIException
CDIException
- if this method fails. Reasons include:#resume(ICDLocation)
void signal() throws CDIException
CDIException
void signal(ICDISignal signal) throws CDIException
signal
-
CDIException
resume(ICDISignal)
ICDIRuntimeOptions getRuntimeOptions()
ICDICondition createCondition(int ignoreCount, String expression)
ICDICondition createCondition(int ignoreCount, String expression, String[] threadIds)
ICDILineLocation createLineLocation(String file, int line)
ICDIFunctionLocation createFunctionLocation(String file, String function)
ICDIAddressLocation createAddressLocation(BigInteger address)
void resume(boolean passSignal) throws CDIException
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.
passSignal
- whether to discar the signal
CDIException
- if this method fails. Reasons include:void resume(ICDILocation location) throws CDIException
location
-
CDIException
- if this method fails. Reasons include:void resume(ICDISignal signal) throws CDIException
signal
-
CDIException
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |