But I read in the bashdb website that you can use it with emacs,
they have a link there to a project called emacs-dbgr,
but after downloading and installing the emacs-dbgr
I enter emacs and do M-x load-libarary dbgr like the installation
instructions
say but I just tells me "cannot open load file".
Can anybody tell me how I debug bash scripts using emacs?
either with the emacs-dbgr library or anything else
--
View this message in context: http://old.nabble.com/debugging-bash-script-in-emacs-using-bashdb-tp31959141p31959141.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
Hi,
when using the command line debugger from the emacs shell -- `M-x shell'
-- you will already have a great advantage, as the output is within the
editor.
Strategically, if you are new to Emacs, I recommend exploring Emacs
itself first rather than running third-party programs, which may need
some adaption. Quit often that jumps into complexity.
Andreas
--
https://code.launchpad.net/~a-roehler/python-mode/components-python-mode
https://code.launchpad.net/s-x-emacs-werkstatt/
>> "cannot open load file"
The dbgr library file needs to be saved in a directory recorded in the
variable load-path (can be overridden/augmented by environment
variable EMACSLOADPATH). This way GNU Emacs will find it
automatically. Best is to use a directory "site-lisp", because this is
meant to contain locally maintained ELisp files.
--
Greetings
Pete
A blizzard is when it snows sideways.
> ... I read in the bashdb website that you can use it with emacs,
> they have a link there to a project called emacs-dbgr,
> but after downloading and installing the emacs-dbgr
> I enter emacs and do M-x load-libarary dbgr like the installation
> instructions
> say but I just tells me "cannot open load file".
>
> Can anybody tell me how I debug bash scripts using emacs?
> either with the emacs-dbgr library or anything else
I think I found the problem (which was introduced recently) and it should be
fixed now. So try again. Thanks.