Wiktionary
malfunction routine
n. (context computing English) Any program or subroutine responsible for troubleshooting problems