Generating rule debugging information
It is a very useful practice to add printing and logging statements to your rules to identify the currently executing rule, and to provide information useful for debugging purposes. Guidewire recommends that you use all of the following means of providing information extensively:
- Use the
printstatement to provide instant feedback in the server console window. - Use class gw.api.system.PCLoggerCategory to print out helpful error messages to the application log files.
- Use comments embedded within rules to provide useful information while troubleshooting rules.
