Debugging C# Programs

Debugging is the process of finding errors in a program. During development, debugging is useful for checking code and verifying it works properly. Also, if an algorithm isn't working properly during development, it's necessary to find and resolve the problems.

Debugging is useful during testing because it provides another level of verification that code is producing the results expected. After a program has been released, debugging provides a means to recreate and detect the errors that were reported in a program. Debugging helps find errors in code.

This section discusses various aspects of debugging. It begins by suggesting an approach to debugging. A well-planned approach helps the debugging process proceed in a smoother ...

Get C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.