[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-questions
Subject:    Re: how to debug .sh type script
From:       Jerry <freebsd.user () seibercom ! net>
Date:       2010-05-31 9:52:57
Message-ID: 20100531055257.08fe9843 () scorpio
[Download RAW message or body]

On Mon, 31 May 2010 15:59:04 +0800
Aiza <aiza21@comclark.com> articulated:

> Is there way to single step through each line of code and see the
> real values of the variables?

You did not indicate what language your script is written in. There are
quite a few sites that have information for debugging a Bash script.

http://bashdb.sourceforge.net/bashdb-man.html
http://www.tldp.org/LDP/abs/html/debugging.html
http://www.softpanorama.org/Scripting/Shellorama/bash_debugging.shtml
http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_02_03.html

There are lots of others. Just Google or Bing for it.

-- 
Jerry
FreeBSD.user@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic