private void onActiveSessionChanged(@Nullable XDebugSession previousSession, @Nullable XDebugSession currentSession) {
    myBreakpointManager.getLineBreakpointManager().queueAllBreakpointsUpdate();
    ApplicationManager.getApplication().invokeLater(() -> {
      ValueLookupManager.getInstance(myProject).hideHint();
    }, myProject.getDisposed());
    if (!myProject.isDisposed()) {
      myProject.getMessageBus().syncPublisher(TOPIC).currentSessionChanged(previousSession, currentSession);
      if (currentSession != null && previousSession != null) {
        XDebuggerActionsCollector.sessionChanged.log();
      }
    }
  }
private void onActiveSessionChanged(@Nullable XDebugSession previousSession, @Nullable XDebugSession currentSession)