Debug in progress, not working after second iteration