From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Shenli Zhu Newsgroups: gmane.emacs.devel Subject: Re: Emacs C debug help function? Date: Fri, 10 Sep 2010 16:40:10 +0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd228c8dae2a4048fe3b13a X-Trace: dough.gmane.org 1284108025 28933 80.91.229.12 (10 Sep 2010 08:40:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2010 08:40:25 +0000 (UTC) Cc: emacs-devel To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 10 10:40:22 2010 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.69) (envelope-from ) id 1Otz9i-00053j-14 for ged-emacs-devel@m.gmane.org; Fri, 10 Sep 2010 10:40:22 +0200 Original-Received: from localhost ([127.0.0.1]:45805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Otz9h-0003u5-CF for ged-emacs-devel@m.gmane.org; Fri, 10 Sep 2010 04:40:21 -0400 Original-Received: from [140.186.70.92] (port=46673 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Otz9a-0003tf-15 for emacs-devel@gnu.org; Fri, 10 Sep 2010 04:40:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Otz9Y-0000qX-G9 for emacs-devel@gnu.org; Fri, 10 Sep 2010 04:40:13 -0400 Original-Received: from mail-px0-f169.google.com ([209.85.212.169]:55139) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Otz9Y-0000qO-7y; Fri, 10 Sep 2010 04:40:12 -0400 Original-Received: by pxi5 with SMTP id 5so1613039pxi.0 for ; Fri, 10 Sep 2010 01:40:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=LzBjZHxBtBiXmGVgZHuFh2dwE60nfQiyjcZAJGRZioo=; b=BZMW0fT/FcbB8f7zTod/H+StuwA/scF6WWHDF5FHg0KR22kiXYGFVCWVJlZ/h9Oakr wQ1p6AD4GCKSwBpKt14h4p76MFyqht8Gq16Jf4Ww7AYoKSjhiPXVwHHIUtva/icO6RW7 g/8fh1k5RO6bkmDj8FJB9q76bnBHeMp/c2E9w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GV8PefnZcAgsqNm0ssnYqDDhMBQyjk4fE0Xqwva4ga63egteJxoLImYXkmoFWFncmx pgV9Id12dMDUgQalSAv6T+HX7zjSiDZ9F2QtB0KDyI+5MqxU+zJYJUAFbIWCm/kYFgIh mbF4kWuuRT/Nb6MgB56TZ7ITsyyrhVql7kwn0= Original-Received: by 10.142.148.3 with SMTP id v3mr585189wfd.2.1284108011102; Fri, 10 Sep 2010 01:40:11 -0700 (PDT) Original-Received: by 10.142.72.2 with HTTP; Fri, 10 Sep 2010 01:40:10 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:129869 Archived-At: --000e0cd228c8dae2a4048fe3b13a Content-Type: text/plain; charset=ISO-8859-1 On Fri, Sep 10, 2010 at 12:02 PM, Glenn Morris wrote: > Shenli Zhu wrote: > > > Backtrace is like: > > ... > > #14 0x0818f78b in Ffuncall (nargs=1, args=0xbfa63a00) at eval.c:3021 > > #15 0x081c8d21 in Fbyte_code (bytestr=154800713, vector=166927821, > > maxdepth=16) > > at bytecode.c:680 > > #16 0x081911b2 in Feval (form=165809550) at eval.c:2352 > > ... > > > > Is there any help function to display form, etc? > > Try reading etc/DEBUG. > Hi Glenn, it's informative, thank you. --000e0cd228c8dae2a4048fe3b13a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Fri, Sep 10, 2010 at 12:02 PM, Glenn = Morris <rgm@gnu.org= > wrote:
Shenli Zhu wrote:

> Backtrace is like:
> ...
> #14 0x0818f78b in Ffuncall (nargs=3D1, args=3D0xbfa63a00) at eval.c:30= 21
> #15 0x081c8d21 in Fbyte_code (bytestr=3D154800713, vector=3D166927821,=
> maxdepth=3D16)
> =A0 =A0 at bytecode.c:680
> #16 0x081911b2 in Feval (form=3D165809550) at eval.c:2352
> ...
>
> Is there any help function to display form, etc?

Try reading etc/DEBUG.

Hi Glenn, it's informative, thank you.
--000e0cd228c8dae2a4048fe3b13a--