how to debug .sh type script

Elias Chrysocheris eliaschr at cha.forthnet.gr
Mon May 31 08:19:29 UTC 2010


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at 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


More information about the freebsd-questions mailing list