Next: , Up: Debugging

14.1.1 Debugging in General

(If you have used debuggers in other languages, you may want to skip ahead to the next section on the specific features of the awk debugger.)

Of course, a debugging program cannot remove bugs for you, since it has no way of knowing what you or your users consider a “bug” and what is a “feature.” (Sometimes, we humans have a hard time with this ourselves.) In that case, what can you expect from such a tool? The answer to that depends on the language being debugged, but in general, you can expect at least the following:

All of these tools provide a great amount of help in using your own skills and understanding of the goals of your program to find where it is going wrong (or, for that matter, to better comprehend a perfectly functional program that you or someone else wrote).