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: 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 <address@hidden>
    Message-ID:  <address@hidden>

  | 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




reply via email to

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