void (EvaluationContextImpl context) { final ThreadReferenceProxyImpl thread = getThreadReference(); final SuspendManager suspendManager = context != null ? context.getDebugProcess().getSuspendManager() : null; final SuspendContextImpl suspendContext = context != null ? context.getSuspendContext() : null; try { myIsSuspended = suspendManager != null ? suspendManager.isSuspended(thread) : thread.isSuspended(); } catch (ObjectCollectedException e) { myIsSuspended = false; } myIsExpandable = calcExpandable(myIsSuspended); mySuspendContext = suspendManager != null ? SuspendManagerUtil.findContextByThread(suspendManager, thread) : suspendContext; myIsAtBreakpoint = thread.isAtBreakpoint(); myIsCurrent = suspendContext != null ? suspendContext.getThread() == thread : false; myIsFrozen = suspendManager != null ? suspendManager.isFrozen(thread) : myIsSuspended; }