void (DebuggerContextImpl debuggerContext) { if (!Registry.is("debugger.check.source")) { return; } SuspendContextImpl suspendContext = debuggerContext.getSuspendContext(); if (suspendContext == null) { return; } suspendContext.getDebugProcess().getManagerThread().schedule(new SuspendContextCommandImpl(suspendContext) { @Override public void contextAction(@NotNull SuspendContextImpl suspendContext) { try { StackFrameProxyImpl frameProxy = debuggerContext.getFrameProxy(); if (frameProxy == null) { return; } Location location = frameProxy.location(); check(location, debuggerContext.getSourcePosition(), suspendContext.getDebugProcess().getProject()); //checkAllClasses(debuggerContext); } catch (EvaluateException e) { LOG.info(e); } } }); }