extra diagnostic for VFS refresh (https://jetbrains.zendesk.com/agent/tickets/80159)
authorSergey Simonchik <sergey.simonchik@jetbrains.com>
Thu, 19 Nov 2015 14:30:00 +0000 (17:30 +0300)
committerSergey Simonchik <sergey.simonchik@jetbrains.com>
Thu, 19 Nov 2015 14:30:21 +0000 (17:30 +0300)
platform/platform-impl/src/com/intellij/ide/SaveAndSyncHandlerImpl.java

index 843bf5e1b6e9845004e022695a8ce7942d917f40..dd0908afd837294ae51c95cdc2e592283c35456b 100644 (file)
@@ -164,6 +164,11 @@ public class SaveAndSyncHandlerImpl extends SaveAndSyncHandler implements Dispos
       session.addAllFiles(ManagingFS.getInstance().getLocalRoots());
       myRefreshSessionId = session.getId();
       session.launch();
+      LOG.debug("vfs refreshed");
+    }
+    else if (LOG.isDebugEnabled()) {
+      LOG.debug("vfs refresh rejected, blocked: " + (myBlockSyncOnFrameActivationCount.get() != 0)
+                + ", isSyncOnFrameActivation: " + mySettings.isSyncOnFrameActivation());
     }
   }