IDEA-129492 Throwable at com.intellij.debugger.engine.SuspendContextImpl.a

This commit is contained in:
Egor.Ushakov
2014-09-04 19:25:39 +04:00
parent 47f5a308d9
commit da732aa994
@@ -429,6 +429,7 @@ public class JavaValue extends XNamedValue implements NodeDescriptorProvider, XV
public String getEvaluationExpression() {
if (evaluationExpression == null) {
// TODO: change API to allow to calculate it asynchronously
if (myEvaluationContext.getSuspendContext().isResumed()) return null;
DebugProcessImpl debugProcess = myEvaluationContext.getDebugProcess();
debugProcess.getManagerThread().invokeAndWait(new DebuggerCommandImpl() {
@Override