# Setting and Modifying Breakpoints

The primary way to work with breakpoints is via the main window. See mainwindow-section

Once you have started the style sheet, you can use the Tools Show inspectors menu item. Then click on the Breakpoints tab. See below for an example.

Setting Breakpoints Setting Breakpoints

## Adding a Breakpoint

You can add a breakpoint by supplying any of:

1. a file and line number

2. a template name

3. a template name and a mode name

4. a mode name

And then pressing the Add button.

## Argument Details

A file name may be absolute path to a local file. Or partial file (⪚ `xsldoc.xsl`).

A template or mode name may is fully Qualified Name where the non-local part is optional ⪚ xsl:mytemplate is matched by mytemplate

## Deleting a Breakpoint

Firstly left mouse click the breakpoint you want to delete in the list of current breakpoints. Then click the Delete button.

## Deleting All Breakpoints

Click the Delete All button.

## Enabling or Disabling a Breakpoint

Firstly &LMB; click the breakpoint you want to delete in the list of current breakpoints. Then click the Enable button.