void (@Nullable XDebugSession previousSession, @Nullable XDebugSession currentSession) { DebuggerSession session = myManager.getContext().getDebuggerSession(); if (session != null) { XDebugSession xDebugSession = session.getXDebugSession(); if (xDebugSession == previousSession && !myInactive) { myInactive = true; update(); } else if (xDebugSession == currentSession && myInactive) { myInactive = false; update(); } } }