public interface IPDITarget extends IPDISourceManagement, IPDISharedLibraryManagement, IPDISessionObject
| Modifier and Type | Method and Description |
|---|---|
IPDIGlobalVariable |
createGlobalVariable(IPDIGlobalVariableDescriptor varDesc)
Create a variable from the descriptor for evaluation.
|
IPDIRegister |
createRegister(IPDIRegisterDescriptor varDesc)
Create a variable from the descriptor for evaluation.
|
java.lang.String |
evaluateExpressionToString(IPDIStackFrame context,
java.lang.String expressionText)
Evaluates the expression specified by the given string.
|
IPDIThread |
getCurrentThread()
Returns the currently selected thread.
|
IPDIGlobalVariableDescriptor |
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 IPDIVariableDescriptor.
|
IPDIRegisterGroup[] |
getRegisterGroups()
Return the register groups.
|
IPDIRuntimeOptions |
getRuntimeOptions()
Returns the Runtime options for this target debug session.
|
IPDIThread[] |
getThreads()
Returns the threads contained in this target.
|
void |
lockTarget()
Lock target
|
void |
releaseTarget()
Release target
|
void |
setCurrentThread(IPDIThread pthread,
boolean doUpdate)
Set current thread
|
void |
setSupended(boolean state)
Set suspended state
|
void |
updateState(int newThreadId)
Update state
|
getInstructions, getInstructions, getInstructions, getMixedInstructions, getMixedInstructions, getMixedInstructions, getSourcePaths, setSourcePathsgetSharedLibrariesgetSessionIPDIGlobalVariable createGlobalVariable(IPDIGlobalVariableDescriptor varDesc) throws PDIException
varDesc - IPDIGlobalVariableDescriptorPDIException - on failureIPDIRegister createRegister(IPDIRegisterDescriptor varDesc) throws PDIException
varDesc - IPDThreadStorageDescPDIException - on failurejava.lang.String evaluateExpressionToString(IPDIStackFrame context, java.lang.String expressionText) throws PDIException
- - expression string to be evaluatedPDIException - on failureIPDIThread getCurrentThread() throws PDIException
PDIExceptionIPDIGlobalVariableDescriptor getGlobalVariableDescriptors(java.lang.String filename, java.lang.String function, java.lang.String name) throws PDIException
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 - PDIException - on failureIPDIRegisterGroup[] getRegisterGroups() throws PDIException
PDIException - on failureIPDIRuntimeOptions getRuntimeOptions()
IPDIThread[] getThreads() throws PDIException
PDIException - on failurevoid lockTarget()
void releaseTarget()
void setCurrentThread(IPDIThread pthread, boolean doUpdate) throws PDIException
pthread - doUpdate - PDIExceptionvoid setSupended(boolean state)
state - void updateState(int newThreadId)
newThreadId - Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.