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: Mon, 25 Feb 2019 09:53:38 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

On 2/24/19 9:39 PM, L A Walsh wrote:
> This is odd....I wanted to turn on the file+line numbers on the function
> defs...thought it might help the debugger as it gets confused when
> functions are already in memory, but when I did that, now I get
> a weird error on login:
> /usr/share/bashdb/init/require.sh: line 17: _Dbg_requires: unbound variable

Setting debugging mode in one of the startup files is an alternate way
to start the bash debugger, equivalent to invoking bash with --debugger.
It's been that way since the debugging support was introduced in bash-3.0.

-- 
``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]