[Top][All Lists]

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

trap ERR debug stacktrace printing

From: Evan Benn
Subject: trap ERR debug stacktrace printing
Date: Thu, 5 Mar 2020 09:56:44 +1100


I am attempting to fix a debug stack trace printer.

I have explained the issue there, but basically BASH_COMMAND contains
the failing command and args, but variables are unexpanded making the
trace not particularly useful.

The failing command is evicted from BASH_ARGV by the time trap ERR runs.


reply via email to

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