void (@NotNull final XCompositeNode node) { XStackFrame frame = mySession.getCurrentStackFrame(); if (frame != null) { myInstanceEvaluator.evaluate(new XDebuggerEvaluator.XEvaluationCallback() { @Override public void evaluated(@NotNull XValue result) { node.addChildren(XValueChildrenList.singleton(myName, result), true); } @Override public void errorOccurred(@NotNull String errorMessage) { } }, frame); } else { node.setErrorMessage("Frame is not available"); } }