Unix Shell - shell scripting debugger

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > September 2006 > shell scripting debugger





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author shell scripting debugger
Gary Wessle

2006-09-30, 7:28 pm

Hi
is there a debugger for shell scripts? I am used to gdb for C++ but
not sure if gdb is commonly used for shell scripts.

thanks
Michael Vilain

2006-09-30, 7:28 pm

In article <m3ven55e55.fsf@localhost.localdomain>,
Gary Wessle <phddas@yahoo.com> wrote:

> Hi
> is there a debugger for shell scripts? I am used to gdb for C++ but
> not sure if gdb is commonly used for shell scripts.
>
> thanks


I've always used the shell with -xv options. For example:

sh -xv script.sh

--
DeeDee, don't press that button! DeeDee! NO! Dee...



Thorsten Kampe

2006-09-30, 7:28 pm

* Gary Wessle (01 Oct 2006 05:48:54 +1000)
> is there a debugger for shell scripts? I am used to gdb for C++ but
> not sure if gdb is commonly used for shell scripts.


http://bashdb.sourceforge.net/
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com