Eric,

Cool, I had used bashdb before, didn't know it could trace..

Anyways, thanks, I'll try it out.

Ed

On 8/24/10 6:12 AM, "Eric Blake" <ebl...@redhat.com> wrote:

On 08/23/2010 08:27 PM, Edward Peschko wrote:
> All,
>
> I've been working lately at upgrading my debugging tools and procedures, and 
> have come to looking how I can improve debugging bash.

Have you tried the bashdb package?  It takes full advantage of a wide
variety of bash features to make it possible to do single-step
debugging, very much in the style of gdb.

In fact, 'bash --debugger script' exists as a handy way to invoke bashdb
on a particular script, assuming your distro has hooked all the pieces
together.

--
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to