Debugging SLAM