# Enabling Debugging for Data Functions

In Spotfire Analyst, set the option to debug data function.

## About this task

Perform this task in Spotfire Analyst.

## Before you begin

You must have the advanced analytics license to use the TERR toolset. If you do not have this license, see your Spotfire administrator.

## Procedure

1. From the Spotfire Analyst menu, click Tools > Options.
2. From the list, click Data Functions.
3. In the Data Functions page, select Enable Data function debugging, and then click OK to accept the change.

## Results

For any data function you run, Spotfire Analyst captures and displays the printed debugging output and any error that occurs. You can access the debugging output from the Details message displayed in the lower left corner of the Spotfire Analyst user interface.
Note: Remember that when you enable debugging, performance can be affected, and a great deal of debugging information can be written, depending on the size of the data set and the complexity of the analysis. You should enable debugging only when it is needed.