bug-bash
[Top][All Lists]
Advanced

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

Re: turning on file+line for functions with shopt -s extdebug gives erro


From: Chet Ramey
Subject: Re: turning on file+line for functions with shopt -s extdebug gives error
Date: Tue, 26 Feb 2019 10:00:31 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

On 2/25/19 3:15 PM, L A Walsh wrote:

> In looking at the bash manpage, I find that 'extdebug' documents
> the turning on and saving of source and line numbers, but I don't
> see where it documents running the bash debugger.

I'll add something in addition to the "If set at shell invocation."

> Nor do I see where function-tracing and error tracing are defined.

set -o functrace/set -T
set -o errtrace/set -E

> 
> Are they defined "somewhere"?  Maybe a short note as to what they
> are might be added to the manpage where the terms are used (under
> description of shopt+extdebug)?

They're described in the FUNCTIONS section, since they affect function
behavior.

The debugger is very impressive. It's a separate project, so you should
probably contact the author with your suggestions.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

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