manpagez: man pages & more
info gawk
Home | html | info | man

File: gawk.info,  Node: Debugger,  Next: Namespaces,  Prev: Internationalization,  Up: Top

14 Debugging 'awk' Programs
***************************

It would be nice if computer programs worked perfectly the first time
they were run, but in real life, this rarely happens for programs of any
complexity.  Thus, most programming languages have facilities available
for "debugging" programs, and 'awk' is no exception.

   The 'gawk' debugger is purposely modeled after the GNU Debugger (GDB)
(https://www.gnu.org/software/gdb/) command-line debugger.  If you are
familiar with GDB, learning how to use 'gawk' for debugging your
programs is easy.

* Menu:

* Debugging::                   Introduction to 'gawk' debugger.
* Sample Debugging Session::    Sample debugging session.
* List of Debugger Commands::   Main debugger commands.
* Readline Support::            Readline support.
* Limitations::                 Limitations and future plans.
* Debugging Summary::           Debugging summary.

© manpagez.com 2000-2025
Individual documents may contain additional copyright information.