void (@NotNull final XFullValueEvaluationCallback callback) { if (callback.isObsolete()) return; myEvaluationContext.getManagerThread().schedule(new SuspendContextCommandImpl(myEvaluationContext.getSuspendContext()) { @Override public Priority getPriority() { return Priority.NORMAL; } @Override protected void commandCancelled() { callback.errorOccurred(JavaDebuggerBundle.message("error.context.has.changed")); } @Override public void contextAction(@NotNull SuspendContextImpl suspendContext) throws Exception { if (callback.isObsolete()) return; evaluate(callback); } }); }