From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: Multiple debugging sessions Date: Fri, 11 Nov 2005 16:50:53 +1300 Message-ID: <17268.5405.311358.5150@kahikatea.snap.net.nz> References: <87u0feb5b7.fsf@wigwam.deepwood.net> <871x2hck3a.fsf@cut.bc.hsia.telus.net> <17239.8445.256875.931159@kahikatea.snap.net.nz> <17266.60914.593789.221645@kahikatea.snap.net.nz> <17267.39821.548416.351709@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1131681117 24503 80.91.229.2 (11 Nov 2005 03:51:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Nov 2005 03:51:57 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 11 04:51:46 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EaPwJ-0006RM-FV for ged-emacs-devel@m.gmane.org; Fri, 11 Nov 2005 04:50:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaPwI-00080l-UW for ged-emacs-devel@m.gmane.org; Thu, 10 Nov 2005 22:50:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EaPw7-0007zM-Hc for emacs-devel@gnu.org; Thu, 10 Nov 2005 22:50:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EaPw5-0007z3-Va for emacs-devel@gnu.org; Thu, 10 Nov 2005 22:50:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaPw5-0007z0-S6 for emacs-devel@gnu.org; Thu, 10 Nov 2005 22:50:45 -0500 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EaPvx-0000F3-VW; Thu, 10 Nov 2005 22:50:38 -0500 Original-Received: from kahikatea.snap.net.nz (p45-tnt1.snap.net.nz [202.124.110.45]) by viper.snap.net.nz (Postfix) with ESMTP id E154172F939; Fri, 11 Nov 2005 16:50:34 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id B324B83AE; Fri, 11 Nov 2005 16:50:53 +1300 (NZDT) Original-To: snogglethorpe@gmail.com, miles@gnu.org In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45716 Archived-At: > > I've already said that I'm not planning to retrofit such a feature but > > keep the code simple by not having it. Of course, if many users share > > your view after the release, I will reconsider. > > I'll do it myself if necessary (after the release of course). What is perhaps more important than supporting multiple sessions, is confidence that the debugger is not going to crash on you while you are debugging. In the past, gdba has certainly failed on that count, and discussions on this list have shown that people don't take too kindly to it. If you can demonstrate a mode that has the same level of reliability and supports multiple sessions, that will certainly be a welcome addition. > > I was aware of the issue. The file gdba.el, which I used as my starting > > point, used many buffer local variables, presumably to allow multiple > > sessions. It didn't work, so I made them global. > > Lovely. You made it worse. There is a bit more to allowing multiple sessions than creating a few buffer local variables, as I'm sure you'll find out. Nick