From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Debugging Emacs Date: Sun, 29 Nov 2015 21:26:29 +0000 Message-ID: <87oaeca456.fsf@russet.org.uk> References: <87r3jbicg0.fsf@russet.org.uk> <83wpt3qq7b.fsf@gnu.org> <87lh9jp073.fsf@russet.org.uk> <83h9k6r1z8.fsf@gnu.org> <878u5hlxqd.fsf@russet.org.uk> <8337vpq2po.fsf@gnu.org> <87zixxkdth.fsf@russet.org.uk> <86k2p0vfl0.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448832423 25897 80.91.229.3 (29 Nov 2015 21:27:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2015 21:27:03 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 29 22:26:48 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a39Ub-0004Cq-M4 for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 22:26:45 +0100 Original-Received: from localhost ([::1]:37773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a39Uf-0002Z8-MI for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 16:26:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a39UT-0002Z1-BH for emacs-devel@gnu.org; Sun, 29 Nov 2015 16:26:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a39US-0005Mi-Ha for emacs-devel@gnu.org; Sun, 29 Nov 2015 16:26:37 -0500 Original-Received: from cheviot12.ncl.ac.uk ([128.240.234.12]:39728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a39UN-0005LK-U3; Sun, 29 Nov 2015 16:26:32 -0500 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot12.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1a39UN-0002Nl-Aa; Sun, 29 Nov 2015 21:26:31 +0000 Original-Received: from cpc6-benw10-2-0-cust45.gate.cable.virginm.net ([92.238.179.46] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1a39UM-0000XJ-T9; Sun, 29 Nov 2015 21:26:31 +0000 In-Reply-To: (John Wiegley's message of "Sun, 29 Nov 2015 11:25:22 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195575 Archived-At: John Wiegley writes: >>>>>> Stephen Leake writes: > >> phillip.lord@russet.org.uk (Phillip Lord) writes: >>> Now, if we had a command, say `break', implemented in C, then added a >>> "breakpoint Fbreak" into .gdbinit, then all of this would happen >>> automatically. Under GDB, then "M-x break" or (break) Emacs would halt. >>> Outside M-x break would do nothing. > >> I would find this convenient; I would not have to remember what function I >> had set a break in for my current debug session; it would always be the same >> one. > > I would also like this. I've injected similar "debug hooks" into other > products before, and it is most helpful. Okay, well, the general mood seems positive, so I will try and add this. Phil