@Override
  protected boolean isEnabled(@NotNull final XDebugSession session, final DataContext dataContext) {
    assert session instanceof XDebugSessionImpl;
    return ((XDebugSessionImpl)session).isPauseActionSupported() && !session.isPaused();
  }
@Override
  protected boolean isEnabled(@NotNull final XDebugSession session, final DataContext dataContext)