Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2010 05:52:57 -0400
From:      Jerry <freebsd.user@seibercom.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: how to debug .sh type script
Message-ID:  <20100531055257.08fe9843@scorpio>
In-Reply-To: <4C036C48.3000307@comclark.com>
References:  <4C036C48.3000307@comclark.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
__________________________________________________________________



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100531055257.08fe9843>