diff tradcpp.1 @ 199:1d2bad7151f9

Add a -debuglog option to send an execution trace to a file. Intended to be used when debugging imake templates and other complex input, not for debugging tradcpp itself.
author David A. Holland
date Sun, 04 Sep 2016 17:14:42 -0400
parents f7814226906c
children bdc672634010
line wrap: on
line diff
--- a/tradcpp.1	Sat Dec 05 18:08:24 2015 -0500
+++ b/tradcpp.1	Sun Sep 04 17:14:42 2016 -0400
@@ -260,6 +260,14 @@
 .El
 .Ss Diagnostic Options
 .Bl -tag -width bubblebabble
+.It Fl debuglog Ar file
+Write a trace of actions and operations to
+.Ar file
+as the input is processed.
+Meant for debugging problems in complex substitution schemes fed to
+.Nm ,
+such as those used by
+.Xr imake 1 .
 .It Fl dD
 Dump all macro definitions, except for the predefined macros, after
 the normal preprocessing output.