Chapter 6 Debugging

According to one of the most famous anecdotes in computing lore, computer pioneer Grace Hopper couldn't get her program to run one day and discovered that the problem was caused by a moth. The moth had become lodged in one of the computer's switches. When the moth was removed, Hopper reported that she had "debugged" the computer — hence the terms "bug," which has come to mean any error in a program, and "debugging," which means tracking down errors and removing them.

Debugging plays a part in developing all but the simplest macros. This chapter describes the kinds of errors you're likely to encounter and the debugging tools Word provides.

In this chapter: