# Установка и изменение точек останова

С точками останова можно работать через главное окно. mainwindow-section

После создания таблицы стилей выберите Сервис Отобразить мониторы и перейдите на вкладку точек останова.

## Добавление точки останова

Вы можете установить точку останова указанием одного из следующих:

1. имени файла и номера строки

2. имени шаблона

3. имени шаблона и режима

4. имени режима

Затем нажмите кнопку "Добавить".

Аргументы

Именем файла может быть абсолютный путь к нему или просто его краткое имя (например xsldoc.xsl).

В имени шаблона или режима может быть нелокальная часть. Например xsl:mytemplate соответствует mytemplate

## Удаление точки останова

Щёлкните левой кнопкой мыши на точке останова, затем нажмите кнопку "Удалить".

## Удаление всех точек останова

Нажмите кнопку "Удалить всё".

## Включение/выключение точки останова

Щёлкните левой кнопкой мыши на точке останова, затем нажмите кнопку "Включить".

## Working With Variables

If the inspector dialog is not showing use the Tools Show inspectors menu item.

Local and global variables are show in separate tabs on the inspector dialog. A local variable is variable declared within a template using xsl:param.

Global variable tab.

Clicking on a variable entry in the list shown will cause the cursor in the main window to move to the file and line number indicated.

## Working With the Callstack

All call stack items found are listed here. The older the callstack entry the lower the frame number it will have xsl:param. See below for an example.

Clicking on a callstack entry in the list shown will cause the cursor in the main window to move to the file and line number indicated.

## Working With Templates

If the inspector dialog is not showing use the Tools Show inspectors menu item. To work with templates click on the templates tab of dialog shown.

All templates found are listed here. Please note that the export rules of XSLT apply. So only there may be more than one template with the same match and mode details. xsl:param.

Clicking on a template entry in the list shown will cause the cursor in the main window to move to the file and line number indicated.

## Working With XSLT Source Files (Sources)

If the inspector dialog is not showing use the Tools Show inspectors menu item. To work with sources click on the sources tab of dialog shown.

All XSLT source files that are included by the XSLT file or one of its simblings are listed here.

Clicking on a source entry in the list shown will cause the cursor in the main window to move to the start of file indicated.

## Working With XML Data Files (Entities)

If the inspector dialog is not showing use the Tools Show inspectors menu item. To work with entities click on the Entities tab of dialog shown.

All external &XML; entities included via the DATA file or one of its siblings are listed here. For this example I have run &kxsl; on test13.xsl with test13.xml (found in the tests directory of xsldbg source distribution) so that you can see some entities.

Clicking on a entity entry in the list shown will cause the cursor in the main window to move to the start of the file indicated.