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 : [email protected] / 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
___________________________________________________________________________________