Sample Debugging Session (The GNU Awk User’s Guide)
From Get docs
Gawk/docs/latest/Sample-Debugging-Session
Next: List of Debugger Commands, Previous: Debugging, Up: Debugger [Contents][Index]
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. |