Chapter 7. Debugging the Code and Solving the Error
We successfully developed a server-client program in the previous chapter. We also smoothly ran the program that we created. However, sometimes, we will face some problems when we run the application, such as receiving an unexpected result or the application crashing during runtime. In this situation, the debugging tool has the ability to help us to solve these problems. While discussing the debugging tool, in this chapter, we will cover the following topics:
- Choosing the debugging tool for our use and keeping it simple and lightweight
- Setting up the debugging tool and preparing the executable file to be debugged
- Familiarizing with commands that are used in the debugging tool