Chapter 7: Compiling, Debugging, and Versioning
It has been said that up to 80% of coding is debugging, and the other 20% is writing bugs! So, no matter how you look at it, we spend a lot of time either debugging our own code or assisting someone else to debug a difficult issue. At other times, we need to test different configurations and items or use distinct options for compilation. For debugging purposes, it is also helpful to make sure we have numbered versions so that we can identify various builds and ensure the correct version is in a particular environment.
In this chapter, we will discuss the various ways to set options, how to debug both locally and remotely, and the versioning of applications and libraries.
In this chapter, we will cover the following topics:
- Exploring compilation flags and options
- Investigating advanced debugging techniques
- Discovering application versioning