void (@NotNull XValueNode node, @NotNull XValuePlace place) { if (myStackFrame != null) { if (myTree.isShowing() || ApplicationManager.getApplication().isUnitTestMode()) { XDebuggerEvaluator evaluator = myStackFrame.getEvaluator(); if (evaluator != null) { evaluator.evaluate(myExpression, new MyEvaluationCallback(node, place), myStackFrame.getSourcePosition()); return; } } else { return; // do not set anything if view is not visible, otherwise the code in computePresentationIfNeeded() will not work } } node.setPresentation(AllIcons.Debugger.Db_watch, EMPTY_PRESENTATION, false); }