User Guide > Reference > PHP Preferences > Step Filtering Preferences

Step Filtering Preferences

The Step Filtering Preferences page allows you to select certain resources/file patterns which will not be 'stepped into'/displayed during debugging.

This feature should be used when there are files which you do not want to inspect during debugging. This is especially useful if you have included large external resources (such as a framework or library).

The Step Filtering Preferences page is accessed from Window | Preferences | PHP | Debug | Step Filtering.

Step Filtering Preferences page

To enable the step filtering feature, mark the 'Use Step Filters' checkbox and the add the required resources to the 'Defined step filters' list.

Note:

The Step Filters functionality can be toggled on/off during debugging by clicking the Use Step Filters button on the Debug view toolbar.

Adding a File Name Pattern to Exclude

 

 

Instructions on how to complete a procedure

To add a file name pattern to exclude:

  1. Click Add Filter.
    The Add Step Filter dialog is displayed.

  2. Enter the pattern to filter.

Note:

Wild cards are enabled, so entering *index.php will exclude all resource paths ending in index.php.

  1. Click OK.

The file exclusion pattern will be added to the step filters list.

Adding a Resource to Exclude

 

 

Instructions on how to complete a procedure

To add a resource to exclude:

  1. Click Add Resource.
    The Select Resource dialog is displayed.

  2. Select the resources (projects/folders/files) which you want to exclude and click OK.

The selected resources will be added to the step filters list.

 

 

Related Links:

Debug Preferences
Debugging

Debug View

 

 

©1999-2013 Zend Technologies LTD. All rights reserved.