|
From: | Rocky Bernstein |
Subject: | Re: bash --debugger on a script with no arguments |
Date: | Wed, 29 Apr 2015 22:31:00 -0400 |
On 4/29/15 9:07 PM, Rocky Bernstein wrote:
> 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.
You might have tested that, too. That went in at the same time.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
[Prev in Thread] | Current Thread | [Next in Thread] |