How To Use A (C#) Debugger

The tutorial document (in Word format)

The project used in the overview:

Once you've walked through the tutorial, I'd recommend trying your debugging skills out with the "LooksGoodToMe.cs" file - uncomment the line of code in the main method, and go from there!

What you need to do for this exercise:  

  1. Create a Word .DOC file named DebuggerExercise_Answer.doc that will store your answer ( if you want to use a .PDF or a text file (.txt) that's fine too).
  2. In DebuggerExercise_Answer.doc you should clearly explain:
    1. What's wrong with the program in the LooksGoodToMe.cs file, and
    2. How you used the debugger to reach this conclusion.
      1. Of the two things you need to write about, this second one is much, much more important than the first.  The goal here is to provide you with an opportunity to learn how to use a debugger, not to fix a program.  Even if you figure out what's wrong with the program on your own you should still experiment with the debugger and figure out how you could have used it to diagnose the problem.