help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Show source code and xtrace as they are executed?


From: adrelanos
Subject: Re: [Help-bash] Show source code and xtrace as they are executed?
Date: Sat, 21 Dec 2013 22:01:03 +0000

Eric Blake:
> On 12/20/2013 11:01 PM, adrelanos wrote:
>> Hi,
>>
>> "set -o verbose" shows when commands are read. Is there something
>> similar to "set -o verbose" that shows commands as they are executed?
> 
> Sounds like you may be interested in bashdb.

Yes.

And I would also be interested to get to my original question.

I find this very useful. I could send sigusr1 to a script, trap it
within a script and enable debugging on demand. Looking into already
running scripts on demand. Also without knowledge of bashdb.



reply via email to

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