Skip to content

Template-Debugger

To set breakpoints is the most important function of a debugger. Through the debugging process you can take a look at each breakpoint and check which error has occured during the generation of a document. The template debugger gives you an insight into each sequential step of the template chain. This means, you can stop and review the rendering process of a template at any breakpoint of the selected mode (EDIT, SAVE, PREVIEW or REPARSE).

Opening the debugger#

Debugger_Desktop

Add the column "Debugger" to your desktop view. How to do this, see user manual.

The debugger interface#

Debugger_View

  1. In the drag-and-drop menu you can choose the mode (i.e. edit, save, preview or reparse).
  2. Using the Buttons Buttons you can navigate in the list of breakpoints forth and back.
  3. Here you see each step of the template. You can set breakpoints for two of the steps.
  4. The timestamp column is divided into:

    1. T: that specifies the time duration required to execute the process
    2. S: that indicates the sum of the time
  5. Here you see the source code of the selected breakpoints in comparison to each other.

To debug a template#

  1. Select the mode (EDIT, SAVE, PREVIEW or REPARSE) of the rendering process you want to examine. If you select EDIT for example, this represents the last breakpoint of the edit mode. Select SAVE, if you want to examine the rendering process of the website.

  2. Now you can navigate through the rendering process back and forth. You can see the outcome of the process in the area of the source text. Alternatevely you can compare conditions of the selected breakpoints by clicking on the field. In the source text area you can see the changes (highlighted in green and red) in a before-and-after comparison. Source Text

  3. The time duration(T:) as well as the cumulated time (S:) is indicated in seconds for each breakpoint.

  4. Some breakpoints can have sub-nodes. Subnodes