public void evaluate(@NotNull String expression, @NotNull XEvaluationCallback callback, @Nullable XSourcePosition expressionPosition) {
evaluate(expression, callback);
}
public void evaluate(@NotNull String expression, XEvaluationCallback callback) {
DBProgramDebugValue value = frame.getValue(expression);
if (value == null) {
value = new DBProgramDebugValue(frame.getDebugProcess(), expression, null, frame.getIndex());
frame.setValue(expression, value);
}
String errorMessage = value.getErrorMessage();
if (errorMessage != null) {
callback.errorOccurred(errorMessage);
} else {
callback.evaluated(value);
}