Property: trace
Syntax
var exp = new apgExp(pattern, "d"); var result = exp.exec(input); var html = exp.trace.toHtml();
If the debug mode flag is set, then exp.trace is the APG trace object. exp.trace can be used to display the path of the parser through the parse tree. If the debug property is not set, exp.trace is undefined.
Example
See the debug mode example.