public interface IAstEvaluationEngine extends IEvaluationEngine
Modifier and Type | Method and Description |
---|---|
void |
evaluateExpression(ICompiledExpression expression,
IJavaObject object,
IJavaThread thread,
IEvaluationListener listener,
int evaluationDetail,
boolean hitBreakpoints)
Asynchronously evaluates the given expression in the context of the
specified type, reporting the result back to the given listener.
|
void |
evaluateExpression(ICompiledExpression expression,
IJavaStackFrame frame,
IEvaluationListener listener,
int evaluationDetail,
boolean hitBreakpoints)
Asynchronously evaluates the given expression in the context of the
specified stack frame, reporting the result back to the given listener.
|
ICompiledExpression |
getCompiledExpression(String expression,
IJavaObject object)
Synchronously generates a compiled expression from the given expression
in the context of the specified object.
|
ICompiledExpression |
getCompiledExpression(String expression,
IJavaReferenceType type)
Synchronously generates a compiled expression from the given expression
in the context of the specified type.
|
ICompiledExpression |
getCompiledExpression(String expression,
IJavaStackFrame frame)
Synchronously generates a compiled expression from the given expression
in the context of the specified stack frame.
|
dispose, evaluate, evaluate, getDebugTarget, getJavaProject
void evaluateExpression(ICompiledExpression expression, IJavaStackFrame frame, IEvaluationListener listener, int evaluationDetail, boolean hitBreakpoints) throws DebugException
expression
- expression to evaluateframe
- the stack frame context in which to run the evaluation.listener
- the listener that will receive notification when/if the
evaluation completesevaluationDetail
- one of DebugEvent.EVALUATION
or
DebugEvent.EVALUATION_IMPLICIT
hitBreakpoints
- whether or not breakpoints should be honored in the evaluation
thread during the evaluation. If false
,
breakpoints hit in the evaluation thread will be ignored.DebugException
- if this method fails. Reasons include:
void evaluateExpression(ICompiledExpression expression, IJavaObject object, IJavaThread thread, IEvaluationListener listener, int evaluationDetail, boolean hitBreakpoints) throws DebugException
expression
- the expression to evaluateobject
- the 'this' context for the evaluationthread
- the thread in which to run the evaluation, which must be
suspendedlistener
- the listener that will receive notification when/if the
evaluation completesevaluationDetail
- one of DebugEvent.EVALUATION
or
DebugEvent.EVALUATION_IMPLICIT
hitBreakpoints
- whether or not breakpoints should be honored in the evaluation
thread during the evaluation. If false
,
breakpoints hit in the evaluation thread will be ignored.DebugException
- if this method fails. Reasons include:
ICompiledExpression getCompiledExpression(String expression, IJavaStackFrame frame) throws DebugException
expression
- expression to compileframe
- the context in which to compile the expressionDebugException
- if this method fails. Reasons include:
ICompiledExpression getCompiledExpression(String expression, IJavaObject object) throws DebugException
expression
- expression to compileobject
- the context in which to compile the expressionDebugException
- if this method fails. Reasons include:
ICompiledExpression getCompiledExpression(String expression, IJavaReferenceType type) throws DebugException
expression
- expression to compiletype
- the context in which to compile the expressionDebugException
- if this method fails. Reasons include:
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.