void (StackFrameContext context) { ApplicationManager.getApplication().runReadAction(() -> { if (context.getFrameProxy() != null) { systemPrintln(toDisplayableString(Objects.requireNonNull(PositionUtil.getSourcePosition(context)))); } else { systemPrintln("Context thread is null"); } }); }