Harmonic-induced wave breaking due to abrupt depth transitions