From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Hall Newsgroups: gmane.emacs.devel Subject: Re: Debugging lisp during startup Date: Fri, 08 Feb 2008 17:48:34 -1000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Generated by Pantomime 1.2.0) Content-Type: text/plain; charset="us-ascii"; format="flowed" X-Trace: ger.gmane.org 1202528597 23658 80.91.229.12 (9 Feb 2008 03:43:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Feb 2008 03:43:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 09 04:43:39 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JNgct-00024S-4g for ged-emacs-devel@m.gmane.org; Sat, 09 Feb 2008 04:43:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNgcQ-0006QS-AO for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2008 22:43:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNgcM-0006QM-Qf for emacs-devel@gnu.org; Fri, 08 Feb 2008 22:43:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNgcK-0006PA-2Z for emacs-devel@gnu.org; Fri, 08 Feb 2008 22:43:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNgcJ-0006P6-QE for emacs-devel@gnu.org; Fri, 08 Feb 2008 22:43:03 -0500 Original-Received: from out4.smtp.messagingengine.com ([66.111.4.28]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNgcJ-0003Sg-D8 for emacs-devel@gnu.org; Fri, 08 Feb 2008 22:43:03 -0500 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id B77A58FE5D; Fri, 8 Feb 2008 22:42:59 -0500 (EST) Original-Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Fri, 08 Feb 2008 22:42:59 -0500 X-Sasl-enc: +b8Z6RiV5fI89SYhbWAexbZrI6PWs+YhyY3y8PAzDlLb 1202528579 Original-Received: from localhost.localdomain (75-95-220-61.hon.clearwire-dns.net [75.95.220.61]) by mail.messagingengine.com (Postfix) with ESMTP id 63B6B7301; Fri, 8 Feb 2008 22:42:59 -0500 (EST) Original-Received: from localhost ([127.0.0.1] helo=localhost.localdomain ident=cjh) by localhost.localdomain with esmtp (Exim 4.50) id 1JNghe-0008L8-B9; Fri, 08 Feb 2008 17:48:34 -1000 In-Reply-To: User-Agent: GNUMail (Version 1.2.0) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:88569 Archived-At: On 2008-02-07 05:25:25 -1000 Stefan Monnier wrote: >> I've tried starting emacs -nw, then (debug-on-entry >> 'make-frame-on-display), but I only get so far before it just hangs >> on >> me. > > You're probably better off debugging it at the C level. > Ouch. Are there some tips available somewhere, or it basically a matter of setting a breakpoint in 'Feval' (or similar) then laboriously examining whatever is on the stack? Thanks, Chris H.