Do not hang when updating permanent DebugLines

Iterator was never incremented of a line had
_bPermanent==true