14.2 Sample gawk Debugging Session

In order to illustrate the use of gawk as a debugger, let’s look at a sample debugging session. We will use the awk implementation of the POSIX uniq command presented earlier (see section Printing Nonduplicated Lines of Text) as our example.

Debugger Invocation    How to Start the Debugger.
Finding The Bug    Finding the Bug.