Re: What tools are useful for script debugging?

1999-01-02 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Hi, folks The subject says it all. Depends on the script language. With plain shell scripts I use sh -x script to debug. Mike. -- Indifference will certainly be the downfall of mankind, but who cares?

Re: What tools are useful for script debugging?

1999-01-02 Thread Morgan Fletcher
[EMAIL PROTECTED] writes: The subject says it all. Try the -x flag to bash - it's quite useful. Strace is also good, if you don't mind sifting through a lot of information. $ bash -x myscript.sh [...] $ strace myscript.sh | less [...] The above advice is based on the