bug-bash
[Top][All Lists]
Advanced

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

Re: bash --debugger on a script with no arguments


From: Chet Ramey
Subject: Re: bash --debugger on a script with no arguments
Date: Wed, 29 Apr 2015 21:39:18 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

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/



reply via email to

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