which one method is best for debugging the shell script?

Hi All,
How to debug the unix shell script? which one is the best way to do the debuging ?

suggession would be appreciate

Regards,
Siva P
Bangalore

"The most effective debugging tool is still careful thought, coupled with judiciously placed print statements." -- Brian W. Kernighan

Your question is really too broad to answer in this medium. Read a book or two. http://cm.bell-labs.com/cm/cs/tpop/debugging.html by Kernighan & Pike would be among my reading suggestions. (Not responding right now. Here's Google's cached copy: From Chapter 5, Debugging)

Double post, thread moved from section "Forum Support Area for Unregistered Users & Account Problems".
Proceed here:

http://www.unix.com/unix-advanced-expert-users/65887-how-can-debug-our-unix-shell-script.html\#post302197024

Thread closed.