From 643526591424210b2da6068f6c8dec9b725cb642 Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Tue, 19 Dec 2023 13:38:18 +0100 Subject: [PATCH] more diagnostics GitOrigin-RevId: c99f3a60744c6d0983b94a2129de4c880b14bd9b --- .../codeInsight/daemon/impl/HighlightInfoUpdater.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/platform/analysis-impl/src/com/intellij/codeInsight/daemon/impl/HighlightInfoUpdater.java b/platform/analysis-impl/src/com/intellij/codeInsight/daemon/impl/HighlightInfoUpdater.java index 57065e35bd4f..7daf1f735e3d 100644 --- a/platform/analysis-impl/src/com/intellij/codeInsight/daemon/impl/HighlightInfoUpdater.java +++ b/platform/analysis-impl/src/com/intellij/codeInsight/daemon/impl/HighlightInfoUpdater.java @@ -95,11 +95,10 @@ class HighlightInfoUpdater { TextRange hostRange = InjectedLanguageManager.getInstance(project).injectedToHost(psiFile, psiFile.getTextRange()); TextRange updateRange = ObjectUtils.chooseNotNull(hostRange.intersection(restrictRange), hostRange); - if (LOG.isDebugEnabled()) { - LOG.debug("updateInspectionResult: tool:" + shortName + "; infos:" + infos + "; oldInfos:" + oldInfos + "; psiFile:" + psiFile); - } List resultInfos = setHighlightersInRange(updateRange, newInfos, oldInfos, markup, session); - + if (LOG.isDebugEnabled()) { + LOG.debug("updateInspectionResult: tool:" + shortName + "; psiFile:" + psiFile+ "; \ninfos:" + infos + "; \noldInfos:" + oldInfos +";results:\n"+resultInfos); + } data.put(Pair.create(shortName, psiFile), resultInfos); } }