Ok. I see my mistake. That long _expression_ is deceptively similar to the other long _expression_; neither has a comment as to what's going on.
As you suggest, I've tested from the git devel branch and yes, this works.
Chet writes:
> Since dollar_vars[0] is always set, testing it would not have any effect.
Ok. If you had written this, it might have saved a bit of back-and-forth by mentioning this right at the beginning.
And to the end of being more informative, In the thread you cited, there was a suggestion about being more informative about skipping debugger_start() :
> > Maybe something like this:
> >
> > bash: foo: debugger /usr/local/share/bashdb/bashdb-main.inc: No such file or
> > directory
> > bash: foo: disabling debugging mode
...
> > bash: foo: debugger /usr/bin/x: Permission denied
> > bash: foo: disabling debugging mode
It wouldn't be that hard to add this in an "else" branch.
Thanks. and Thanks for addressing this issue.