From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: Debugging Emacs (-nw) Date: Mon, 17 Jan 2005 08:08:40 +0100 Organization: orebokech dot com Message-ID: <87k6qc353b.fsf@orebokech.com> References: <16874.61729.22353.855809@farnswood.snap.net.nz> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1105946846 21940 80.91.229.6 (17 Jan 2005 07:27:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Jan 2005 07:27:26 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 17 08:27:20 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CqRIG-0006Cu-00 for ; Mon, 17 Jan 2005 08:27:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqRLK-0007a1-W3 for ged-emacs-devel@m.gmane.org; Mon, 17 Jan 2005 02:30:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CqRKv-0007XG-FL for emacs-devel@gnu.org; Mon, 17 Jan 2005 02:30:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CqRKm-0007SM-NQ for emacs-devel@gnu.org; Mon, 17 Jan 2005 02:29:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqRKm-0007Pd-G5 for emacs-devel@gnu.org; Mon, 17 Jan 2005 02:29:56 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CqR0H-0004It-Qk for emacs-devel@gnu.org; Mon, 17 Jan 2005 02:08:46 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CqR0F-0005oM-00 for ; Mon, 17 Jan 2005 08:08:43 +0100 Original-Received: from yeast.orebokech.com ([82.67.41.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Jan 2005 08:08:43 +0100 Original-Received: from romain by yeast.orebokech.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Jan 2005 08:08:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: yeast.orebokech.com Mail-Copies-To: nobody X-Face: "1+OIb}NK>vxR1ZMk[Jx!/]O|A-v/P&|%hFquLxp20W.'g4KNUD/IdAUSmd'5`f)Q9%"4]%{P`TF2dC4v1~G5D}S( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:DkTs/XNn2rr/XIyhsQyXHAnHg64= 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: main.gmane.org gmane.emacs.devel:32284 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32284 Nick Roberts writes: > When debugging Emacs while it is running in a terminal (-nw), I have > found it useful to use a separate terminal. Indeed, especially if the bug happens to be in the redisplay engine. > In GDB this can be done, for example, in the following way: [...] I usually start Emacs as usual, then attach it from gdb with the `attach' command. -- Romain Francoise | That there, that's not me. I it's a miracle -- http://orebokech.com/ | go where I please.