void () { Project project = getProject(); List<KtFile> files = new ArrayList<>(KotlinLightCodeInsightFixtureTestCaseKt.allKotlinFiles(project)); if (files.isEmpty()) return; List<Breakpoint> breakpoints = Lists.newArrayList(); for (KtFile file : files) { breakpoints.addAll(extractBreakpointsInfo(file, file.getText())); } CompilerConfiguration configuration = KotlinTestUtils.newConfiguration(ConfigurationKind.STDLIB, TestJdkKind.MOCK_JDK); // TODO: delete this once IDEVirtualFileFinder supports loading .kotlin_builtins files CommonConfigurationKeysKt.setLanguageVersionSettings(configuration, new CompilerTestLanguageVersionSettings( Collections.emptyMap(), ApiVersion.LATEST_STABLE, LanguageVersion.LATEST_STABLE, Collections.singletonMap(JvmAnalysisFlags.getSuppressMissingBuiltinsError(), true) )); GenerationState state = getCompileFiles(files, configuration); Map<String, ReferenceType> referencesByName = getReferenceMap(state.getFactory()); debugProcess = createDebugProcess(referencesByName); PositionManager positionManager = createPositionManager(debugProcess); ApplicationManager.getApplication().runReadAction(() -> { try { for (Breakpoint breakpoint : breakpoints) { assertBreakpointIsHandledCorrectly(breakpoint, positionManager); } } catch (NoDataException e) { throw ExceptionUtilsKt.rethrow(e); } }); }