Changes between Version 19 and Version 20 of Doc/SCDB/Usage


Ignore:
Timestamp:
Dec 4, 2008, 10:44:17 AM (15 years ago)
Author:
/C=IE/O=Grid-Ireland/OU=cs.tcd.ie/L=RA-TCD/CN=Stephen O. Childs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/SCDB/Usage

    v19 v20  
    141141
    142142{{{
    143 external/ant/bin/ant -Dpan.logging=call -Dlogfile=/home/myuser/mypanc.log
     143external/ant/bin/ant -Dpan.logging=call -Dpan.logfile=/home/myuser/mypanc.log
    144144}}}
     145
     146=== Using panc debugging ===
     147
     148Version 8.2.4+ of the Pan compiler allows selective output of debugging statements. You can use debug statements freely in templates, and then select when running the compiler which templates should output the debug information. This is done by specifying a set of include and exclude patterns that select sets of templates. You can use this from SCDB via options to ant as follows:
     149
     150
     151For example to only output debug from templates with name starting "xen/":
     152{{{
     153ant -Dpan.debug.include='xen/.*'
     154}}}
     155
     156Or to exclude debugging from all the spma and pan templates but display it from all the rest:
     157{{{
     158ant -Dpan.debug.exclude='.*/spma/.*|pan/.*' -Dpan.debug.include='.*'
     159}}}