The One with the Debugging Dances
Debugging and Profiling System Applications
Debugging is the art of finding errors in your code and ensuring you have all the knowledge to fix them. That sounds simple enough, doesn’t it? Well, think again. Debugging can get complicated quickly, and you need good strategies to recover. Luckily, I am here to help you! In this chapter, we’re going to cover the following main topics:
- What is debugging? What is profiling?
- How do we use breakpoints?
- What other debugging tools do we have in Visual Studio?
- How do we deal with multithreaded and asynchronous systems?
- How do we profile and benchmark our code to ensure it runs as fast as possible?
Debugging can get quite time-intensive. So, let’s not waste any time and get started.