|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DebuggerEvaluator
Evaluators are keyed to a particular debuggee stop (stack frame and thread) and the evaluator expires as soon as the debuggee resumes. Don't hold on to expired evaluators. Let them be garbage collected after each 'resume' and 'finish'.
Method Summary | |
---|---|
java.util.List<DebuggeeData> |
evaluate(java.util.List<java.lang.String> expressions, DebuggeeData context) Evaluate expressions into DebuggeeData representations in the context of the currently set thread and stack position and an optional DebuggeeData object. |
DebuggeeData |
evaluate(java.lang.String expression, DebuggeeData context) Evaluate one expression into a DebuggeeData representation in the context of the currently set thread and stack position and an optional DebuggeeData object. |
java.util.List<DebuggerThread> |
getAllThreads() Get all the current threads |
Context |
getContext() Get the context of this evaluator |
DebuggerEvaluator |
getEvaluator(DebuggerThread thread) Get a new evaluator for another thread. |
DebuggerEvaluator |
getEvaluator(int stackFrame) Get a new evaluator for a specific 0-based stack frame for the same thread as the current evaluator |
int |
getStackFrame() Get the 0-based index of the stack frame for this evaluator. |
int |
getStackFrameCount() Find out how many stack frames there are. |
DebuggerThread |
getThread() Get the thread for this evaluator. |
boolean |
hasExpired() Check if this evaluator has expired. |
Method Detail |
---|
boolean hasExpired()
Context getContext()
int getStackFrame()
DebuggerThread getThread()
DebuggeeData evaluate(java.lang.String expression, DebuggeeData context)
expression
- One expression to evaluatecontext
- An optional Object to use as the context for the evaluation which is useful if a DebuggeeData has children and the caller wants to evaluate a child in the context of the parent. If null, the context is the stack frame and thread of this DebuggerEvaluator.java.util.List<DebuggeeData> evaluate(java.util.List<java.lang.String> expressions, DebuggeeData context)
expressions
- Expressions to evaluatecontext
- An optional Object to use as the context for the evaluations which is useful if a DebuggeeData has children and the caller wants to evaluate a child in the context of the parent. If null, the context is the stack frame and thread of this DebuggerEvaluator.int getStackFrameCount()
DebuggerEvaluator getEvaluator(int stackFrame)
DebuggerEvaluator getEvaluator(DebuggerThread thread)
thread
- The thread to usejava.util.List<DebuggerThread> getAllThreads()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |