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: Eric Blake
Subject: Re: File name/Line numbers with tracing output.
Date: Tue, 24 Aug 2010 07:12:58 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.2

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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org



reply via email to

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