boolean () { XDebugSession session = XDebugView.getSession(myTree); if (session != null) { XSourcePosition sessionCurrentPosition = session.getCurrentPosition(); if (sessionCurrentPosition != null && !sessionCurrentPosition.getFile().equals(myPosition.getFile())) { return true; } } return false; }