|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPDITarget
Represents a debuggable process. This is a root object of the PDI model.
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.eclipse.ptp.debug.core.pdi.model.IPDISourceManagement |
|---|
getInstructions, getInstructions, getInstructions, getMixedInstructions, getMixedInstructions, getMixedInstructions, getSourcePaths, setSourcePaths |
| Methods inherited from interface org.eclipse.ptp.debug.core.pdi.model.IPDISharedLibraryManagement |
|---|
getSharedLibraries |
| Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISessionObject |
|---|
getSession |
| Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISet |
|---|
getTasks |
| Method Detail |
|---|
IPDIGlobalVariable createGlobalVariable(IPDIGlobalVariableDescriptor varDesc)
throws PDIException
varDesc - IPDIGlobalVariableDescriptor
PDIException - on failure
IPDIRegister createRegister(IPDIRegisterDescriptor varDesc)
throws PDIException
varDesc - IPDThreadStorageDesc
PDIException - on failure
java.lang.String evaluateExpressionToString(IPDIStackFrame context,
java.lang.String expressionText)
throws PDIException
- - expression string to be evaluated
PDIException - on failure
IPDIThread getCurrentThread()
throws PDIException
PDIException
IPDIGlobalVariableDescriptor 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 failure
IPDIRegisterGroup[] 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 -
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||