add debug to stop infinitive loops

add debug in parser.clauses parser.line to stop infinitive loops