Debugging selection code.