$funcsourcetrace  –  Relative Line Numbers and File Names of the Execution Stack

$funcsourcetrace is an array and contains the relative line numbers and the file names of the currently executing functions, source files and eval command (if EVAL_LINENO is set).

$funcfiletrace is more useful, as it contains absolute line numbers instead.

BashSupport Pro is a Zsh IDE with support for $funcsourcetracetry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal