From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Look for strace/ltrace analog for elisp. Date: Sun, 13 May 2012 10:34:04 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1336919715 16933 80.91.229.3 (13 May 2012 14:35:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 May 2012 14:35:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 13 16:35:15 2012 Return-path: Envelope-to: geh-help-gnu-emacs@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 1STZtB-0005Oh-O3 for geh-help-gnu-emacs@m.gmane.org; Sun, 13 May 2012 16:35:13 +0200 Original-Received: from localhost ([::1]:54890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STZtA-0002mo-VH for geh-help-gnu-emacs@m.gmane.org; Sun, 13 May 2012 10:35:12 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Injection-Info: mx04.eternal-september.org; posting-host="fP8vVv/+J/mrmGYzpWMyeQ"; logging-data="9284"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19of4ZGfeuOUgcJ1P7Yo9mz" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:o7nLmE+ZPHJmJieX2XQOZAiNPmY= sha1:NrOFh3sQTZEjTvF15UAsNoNjRes= Original-Xref: usenet.stanford.edu gnu.emacs.help:192406 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84813 Archived-At: > I expect ability to call something like:: > (trace BODY) > and get output like:: > { foo > *{ bar > **{ concat > **} concat: result: "XXX" > **{ + > **} +: result: 20 > *} bar: result: 20 > } foo: result: 20 We don't really have this kind of `trace' function. Instead we have `trace-function'. So if you called trace-function on `foo', `bar', `concat', and `+', then (eval BODY) would have put a trace like the one you show in *trace-output*. Stefan