// Unsafe asynchronous check.
if (uiValue.getSuspendedState().isDismissed()) {
return createErrorOptional(
new Message(Messages.LogicImpl_CONTEXT_DISMISSED, MessagePriority.BLOCKING_PROBLEM));
}
JsEvaluateContext globalEvaluateContext = debugContext.getGlobalEvaluateContext();
return createOptional(new PreviewContext(globalEvaluateContext, jsObject));
}