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.
|
String |
evaluateExpressionToString(IPDIStackFrame context,
String expressionText)
Evaluates the expression specified by the given string.
|
IPDIThread |
getCurrentThread()
Returns the currently selected thread.
|
IPDIGlobalVariableDescriptor |
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 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, setSourcePaths
getSharedLibraries
getSession
IPDIGlobalVariable createGlobalVariable(IPDIGlobalVariableDescriptor varDesc) throws PDIException
varDesc
- IPDIGlobalVariableDescriptorPDIException
- on failureIPDIRegister createRegister(IPDIRegisterDescriptor varDesc) throws PDIException
varDesc
- IPDThreadStorageDescPDIException
- on failureString evaluateExpressionToString(IPDIStackFrame context, String expressionText) throws PDIException
-
- expression string to be evaluatedPDIException
- on failureIPDIThread getCurrentThread() throws PDIException
PDIException
IPDIGlobalVariableDescriptor getGlobalVariableDescriptors(String filename, String function, 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
- PDIException
void setSupended(boolean state)
state
- void updateState(int newThreadId)
newThreadId
- Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.