Debugging Templates

Template code can become quite complex. CodeSmith offers several facilities to help you debug problems with your templates:

  • You can write information to the Output window using Trace and Debug statements
  • You can set breakpoints and step through your templates using an external debugger