O'Reilly logo

Boost.Asio C++ Network Programming - Second Edition by John Torjo, Wisnu Anggoro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

Choosing a debugging ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required