This chapter has concentrated on techniques that you can use to debug your applications. There are a variety of techniques available here, most of which are available for whatever type of project you are creating, not just console applications.
In this chapter, you learned to:
Use Debug.WriteLine() and Trace.WriteLine() to write text to the Output window
Use tracepoints to write text to the Output window
Enter and use Break mode, including how to use the versatile breakpoints
Use debugging information windows in VS
Step through code
Handle exceptions using try . . . catch . . . finally
You have now covered everything that you need to produce simple console applications, along with the methods of debugging them. In the next section of this book, you will look at the powerful technique of object-oriented programming.