public interface ICDITarget extends ICDIThreadGroup, ICDIExpressionManagement, ICDISourceManagement, ICDISharedLibraryManagement, ICDIMemoryBlockManagement, ICDISessionObject
Modifier and Type | Method and Description |
---|---|
ICDIAddressLocation |
createAddressLocation(java.math.BigInteger address)
Returns a ICDIAddressLocation
|
ICDICondition |
createCondition(int ignoreCount,
java.lang.String expression)
Return a ICDICondition
|
ICDICondition |
createCondition(int ignoreCount,
java.lang.String expression,
java.lang.String[] threadIds)
Return a ICDICondition
|
ICDIFunctionLocation |
createFunctionLocation(java.lang.String file,
java.lang.String function)
Returns a ICDIFunctionLocation
|
ICDIGlobalVariable |
createGlobalVariable(ICDIGlobalVariableDescriptor varDesc)
Create a variable from the descriptor for evaluation.
|
ICDILineLocation |
createLineLocation(java.lang.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.
|
java.lang.String |
evaluateExpressionToString(ICDIStackFrame context,
java.lang.String expressionText)
Evaluates the expression specified by the given string.
|
ICDITargetConfiguration |
getConfiguration()
Returns the configuration description of this debug session.
|
ICDIGlobalVariableDescriptor |
getGlobalVariableDescriptors(java.lang.String filename,
java.lang.String function,
java.lang.String name)
A static/global variable in a particular function or file,
filename or/and function is the context for the static ICDIVariableDescriptor.
|
java.lang.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 |
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.
|
getCurrentThread, getThreads
deleteAllBreakpoints, deleteBreakpoints, getBreakpoints, setAddressBreakpoint, setExceptionBreakpoint, setFunctionBreakpoint, setLineBreakpoint, setWatchpoint
stepInto, stepIntoInstruction, stepOver, stepOverInstruction, stepUntil
resume, resume, resume
isSuspended, suspend
getSignals
getTarget
createExpression, destroyAllExpressions, destroyExpressions, getExpressions
getInstructions, getInstructions, getInstructions, getMixedInstructions, getMixedInstructions, getMixedInstructions, getSourcePaths, setSourcePaths
getSharedLibraries
createMemoryBlock, getMemoryBlocks, removeAllBlocks, removeBlocks
getSession
java.lang.Process getProcess()
ICDITargetConfiguration getConfiguration()
java.lang.String evaluateExpressionToString(ICDIStackFrame context, java.lang.String expressionText) throws CDIException
-
- expression string to be evaluatedCDIException
- if this method fails. Reasons include:ICDIGlobalVariableDescriptor getGlobalVariableDescriptors(java.lang.String filename, java.lang.String function, java.lang.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
- ICDIGlobalVariableDescriptorCDIException
ICDIRegisterGroup[] getRegisterGroups() throws CDIException
CDIException
ICDIRegister createRegister(ICDIRegisterDescriptor varDesc) throws CDIException
varDesc
- ICDThreadStorageDescCDIException
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:@Deprecated void resume() throws CDIException
CDIException
- if this method fails. Reasons include:@Deprecated void stepOver() throws CDIException
CDIException
- if this method fails. Reasons include:ICDIExecuteStep.stepOver(int)
@Deprecated void stepInto() throws CDIException
CDIException
- if this method fails. Reasons include:ICDIExecuteStep.stepInto(int)
@Deprecated void stepOverInstruction() throws CDIException
CDIException
- if this method fails. Reasons include:ICDIExecuteStep.stepOverInstruction(int)
@Deprecated void stepIntoInstruction() throws CDIException
CDIException
- if this method fails. Reasons include:ICDIExecuteStep.stepIntoInstruction(int)
@Deprecated void runUntil(ICDILocation location) throws CDIException
CDIException
- if this method fails. Reasons include:ICDIExecuteStep.stepUntil(ICDILocation)
@Deprecated void jump(ICDILocation location) throws CDIException
CDIException
- if this method fails. Reasons include:#resume(ICDLocation)
@Deprecated void signal() throws CDIException
CDIException
@Deprecated void signal(ICDISignal signal) throws CDIException
signal
- CDIException
ICDIExecuteResume.resume(ICDISignal)
ICDIRuntimeOptions getRuntimeOptions()
ICDICondition createCondition(int ignoreCount, java.lang.String expression)
ICDICondition createCondition(int ignoreCount, java.lang.String expression, java.lang.String[] threadIds)
ICDILineLocation createLineLocation(java.lang.String file, int line)
ICDIFunctionLocation createFunctionLocation(java.lang.String file, java.lang.String function)
ICDIAddressLocation createAddressLocation(java.math.BigInteger address)
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.