Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2010 11:19:24 +0300
From:      Elias Chrysocheris <eliaschr@cha.forthnet.gr>
To:        freebsd-questions@freebsd.org
Subject:   Re: how to debug .sh type script
Message-ID:  <201005311119.25027.eliaschr@cha.forthnet.gr>
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 Monday 31 of May 2010 10:59:04 Aiza wrote:
> Is there way to single step through each line of code and see the real
> values of the variables?
> _______________________________________________
> 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"

I'm not aware of a way to single step a script. But the old method of echo and 
exit is the way I use. I use echo to print the values and the line numbers 
that I want and exit to stop the execution of the script at a point I wish it 
to stop.

Elias



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