Cisco Interview Question

Explain how to go about debugging a piece of software.