Detecting or avoiding eroding through