bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File name/Line numbers with tracing output.


From: Edward Peschko
Subject: Re: File name/Line numbers with tracing output.
Date: Tue, 24 Aug 2010 17:39:22 -0700

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" <eblake@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   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]