From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: debugging bash script in emacs using bashdb Date: Thu, 30 Jun 2011 08:41:42 +0200 Message-ID: <4E0C1AA6.1090200@easy-emacs.de> References: <31959141.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309416233 9894 80.91.229.12 (30 Jun 2011 06:43:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2011 06:43:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 30 08:43:49 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QcAyU-0005Ws-Na for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2011 08:43:42 +0200 Original-Received: from localhost ([::1]:37261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcAyT-0002QM-DJ for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2011 02:43:41 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcAwk-0002Pl-UC for help-gnu-emacs@gnu.org; Thu, 30 Jun 2011 02:41:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcAwj-0004SQ-64 for help-gnu-emacs@gnu.org; Thu, 30 Jun 2011 02:41:54 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.8]:55263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcAwi-0004SF-KK for help-gnu-emacs@gnu.org; Thu, 30 Jun 2011 02:41:53 -0400 Original-Received: from [192.168.178.27] (brln-4dbc69f0.pool.mediaWays.net [77.188.105.240]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MZlwE-1Qr5Sl1MKc-00LTBE; Thu, 30 Jun 2011 08:41:49 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10 In-Reply-To: <31959141.post@talk.nabble.com> X-Provags-ID: V02:K0:4Vny603KE/CzvOKDsLwLzCIyLfAdIKALBqF+/rVlxM0 8c1dvead6Mo6cdfX95tInTxFGJpsEUmj+5n+7rR/dzytxKrBi1 MUZC+1DliOV++gR6aqXGTRN3fcAifMR4LZZYp0os00kfbwEW43 0Q8ueaTDCCdY+6mXjBiqm6HIaj2Tr/rkiWhZGC1H9a5UfKn6f0 hQos/6LyslkZrW0yBdDBKL1s9d8S8VApNDzVQr+NbA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81456 Archived-At: Am 30.06.2011 01:22, schrieb fiftyeight: > > Hi, I'm new to emacs and I'm trying to debug bash script with it. > I've downloaded the bashdb package and it works for me > when I use it from the terminal. > > 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 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/