debugging continus looping crash