Book Image

Boost.Asio C++ Network Programming

By : Wisnu Anggoro
Book Image

Boost.Asio C++ Network Programming

By: Wisnu Anggoro

Overview of this book

Table of Contents (15 chapters)
Boost.Asio C++ Network Programming Second Edition
Credits
About the Authors
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Index

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