Next: , Previous: , Up: AutoGen Native Macros   [Contents][Index]


3.6.6 DEBUG - Print debug message to trace output

If the tracing level is at "debug-message" or above (see autogen trace), this macro prints a debug message to trace output. This message is not evaluated. This macro can also be used to set useful debugger breakpoints. By inserting [+DEBUG n+] into your template, you can set a debugger breakpoint on the #n case element below (in the AutoGen source) and step through the processing of interesting parts of your template.

To be useful, you have to have access to the source tree where autogen was built and the template being processed. The definitions are also helpful, but not crucial. Please contact the author if you think you might actually want to use this.