[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: |
Robert Elz |
Subject: |
Re: turning on file+line for functions with shopt -s extdebug gives error |
Date: |
Sat, 02 Mar 2019 09:15:01 +0700 |
Date: Fri, 1 Mar 2019 11:00:41 -0500
From: Chet Ramey <chet.ramey@case.edu>
Message-ID: <91e964e9-a7e3-4f4e-ae9f-9ff3e3627bce@case.edu>
| It's wasteful and not particularly useful to have
| the function definition text stored internally when you can regenerate an
| equivalent form from the compiled function definition.
I actually much prefer to see the shell regenerated form - if I want the
original I have the sources, but seeing the shell "reverse compiled" form
gives a different perspective to the code, and sometimes allows bugs to be
made obvious which get hidden by the formatting of the original.
kre
Please store source file name + line number for all functions defined whether or not bashdb is running., L A Walsh, 2019/03/01