wiki:Development/Templates/Debugging

Version 1 (modified by /C=FR/O=CNRS/OU=UMR8607/CN=Michel Jouvin/emailAddress=jouvin@…, 18 years ago) ( diff )

--

Debugging Templates and Tools

TOC(inline)

This page describes debugging options availabe in templates and tools like SCDB or PAN compiler.

Templates

Templates can produce (very) verbose output useful in particular to debug PAN functions. With PAN compiler v7+, you can display this debugging information using the option -Dpan.debug.flag="true" in ant command line.

SCDB Tools

Main SCDB Tool consist of ant task, written in Java. These tasks may print additional information for debugging, using the following flags :

  • compile.debug.task : debug compilation task (not the compiler). Works with panc v7+ only.
  • deploy.debug.task : debug task associated with deploy target.
  • rep.debug.task : debug task associated with update.rep.templates target.

To enable one of these flags, use -D option with ant command. For example :

ant -Dcompile.debug.task="true"
Note: See TracWiki for help on using the wiki.