Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program or a piece of electronic hardware, thus making it behave as expected. Debugging ranges from fixing simple errors to performing lengthy and tiresome tasks of data collection, analysis, and scheduling updates