From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45455 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: debugging Date: Tue, 11 Nov 2008 12:08:57 +0100 Message-ID: <491967C9.3000103@elvenkind.com> References: <326847810811110245n78f15278qf8f3a8435b8ce688@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226401856 1997 80.91.229.12 (11 Nov 2008 11:10:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2008 11:10:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 11 12:11:56 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KzrA3-0003Ms-Mi for gctc-ntg-context-518@m.gmane.org; Tue, 11 Nov 2008 12:11:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 85F571FD04; Tue, 11 Nov 2008 12:10:42 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10554-03-3; Tue, 11 Nov 2008 12:09:46 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DE06B1FBB9; Tue, 11 Nov 2008 12:09:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E9B2C1FBB5 for ; Tue, 11 Nov 2008 12:09:43 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12135-01-2 for ; Tue, 11 Nov 2008 12:08:57 +0100 (CET) Original-Received: from plane.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by ronja.ntg.nl (Postfix) with ESMTP id 9B9191FB8F for ; Tue, 11 Nov 2008 12:08:57 +0100 (CET) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by plane.elvenkind.com (Postfix) with ESMTP id 8659D8041719 for ; Tue, 11 Nov 2008 12:08:57 +0100 (CET) User-Agent: Thunderbird 2.0.0.12 (X11/20080305) In-Reply-To: <326847810811110245n78f15278qf8f3a8435b8ce688@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:45455 Archived-At: Alan STONE wrote: > > I tried \tracingmacros=1 but that's not what I'm looking for. \tracingassigns=1 is as close as you can get. Otherwise, you will end up with extremely dangerous constructs like this trick that may very well interfere with what you are trying to debug: \let\normaldef\def \def\dumpDEF {\immediate\write16 {\expandafter\string\theDEF=\expandafter\meaning\theDEF}} \unexpanded\normaldef\def#1% yes, this redefines \def! {\normaldef\theDEF{#1}\afterassignment\dumpDEF\normaldef#1} Best wishes, Taco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________