void (@NotNull SuspendContextImpl suspendContext) { try { ExpressionEvaluator evaluator = myLabelExpression.getEvaluator(debugProcess.getProject()); if (!debugProcess.isAttached()) { throw EvaluateExceptionUtil.PROCESS_EXITED; } EvaluationContext thisEvaluationContext = evaluationContext.createEvaluationContext(value); Value labelValue = evaluator.evaluate(thisEvaluationContext); String result = StringUtil.notNullize(DebuggerUtils.getValueAsString(thisEvaluationContext, labelValue)); descriptor.setValueLabel(prefix(result)); } catch (EvaluateException ex) { descriptor.setValueLabelFailed( new EvaluateException(JavaDebuggerBundle.message("error.unable.to.evaluate.expression") + " " + ex.getMessage(), ex)); } labelListener.labelChanged(); }