Just for a change, here's one that was not inspired by Coverity. Find separate debug file does not work in the case where the path lies in the global debug file directory -- because we stick an extra slash into the pathname.