bug-bash
[Top][All Lists]
Advanced

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

Re: bashdb question


From: lehe
Subject: Re: bashdb question
Date: Thu, 26 Feb 2009 14:36:12 -0800 (PST)

Thanks, Chet! 

I installed bashdb through Synaptic Package Manager of my Ubuntu 8.10 and it
was installed into /usr/share/bashdb/, /usr/bin/, /usr/lib/ etc. Not sure
these could be found by bash.

How to know if DEBUGGER_START_FILE is defined in pathnames.h and define it
this way if not?

Also I ried one suggestion found with Google:
"To see if your standard bash executable has bashdb support, execute the
command shown below; if you are not taken to a bashdb prompt then you'll
have to install bashdb yourself. $ bash --debugger -c "set|grep -i dbg" " 
I am not taken to bashdb prompt and instead get
"BASH_EXECUTION_STRING='set|grep -i dbg'". So I guess my bashdb is not set
up properly?

Thanks!




Chet Ramey wrote:
> 
> lehe wrote:
>> Hi,
>> I am beginning to use bashdb to debug my shell script. There is one
>> problems
>> here. With "bash --debugger ./myscript.sh" it will run to finish without
>> stop, while with "bashdb ./myscript.sh" would stop at the beginning. How
>> could I stop in the first usage? Thanks a lot!
> 
> Do you have bashdb installed where bash expects it?  Is
> DEBUGGER_START_FILE
> defined in pathnames.h?
> 
> Chet
> 
> -- 
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> 
> Chet Ramey, ITS, CWRU    chet@case.edu   
> http://cnswww.cns.cwru.edu/~chet/
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/bashdb-question-tp22226555p22235083.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.





reply via email to

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