void (@NotNull final XCompositeNode node) { myDialog.startEvaluation(new XEvaluationCallbackBase() { @Override public void evaluated(@NotNull final XValue result) { String name = UIUtil.removeMnemonic(XDebuggerBundle.message("xdebugger.evaluate.result")); node.addChildren(XValueChildrenList.singleton(name, result), true); myDialog.evaluationDone(); } @Override public void errorOccurred(@NotNull final String errorMessage) { node.setErrorMessage(errorMessage); myDialog.evaluationDone(); } }); }