finishes debugging