[Help-bash] extdebug not providing expected results with declare -F
From:
Michael Convey
Subject:
[Help-bash] extdebug not providing expected results with declare -F
Date:
Wed, 22 Jul 2015 07:26:54 -0700
According to man bash:
The -F option to declare or typeset will list the function names only (and
optionally the
​​
source file and line number, if the extdebug shell option is enabled).
​I created a file with a test function in it and loaded the function via
"source filename"​, and enabled extdebug via "shopt -s extdebug". However,
when I execute the command "declare -F",
​
source file and line number are not included in the output. What am I doing
wrong?