int (@Nullable ThreadReferenceProxyImpl thread, @NotNull SuspendContextImpl suspendContext) { if (thread != null) { if (thread.equals(suspendContext.getThread())) { return suspendContext.frameCount(); } else { try { return thread.frameCount(); } catch (EvaluateException ignored) { } } } return 0; }