How To Use A (C#) Debugger
The tutorial document (in Word format)
The project used in the tutorial
Debugger_Example.ZIP
Once you've walked through the tutorial try out
your debugging
skills out with the Debugging_Exercises.DebuggingExercises() method -
the last line in the method will trigger the error.
- 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).
- In DebuggerExercise_Answer.doc you should clearly
explain:
- What's wrong with the program in the
Debugging_Exercises.DebuggingExercises() method, and
- How you used the debugger to reach this conclusion.
- 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.