You are here: User Guide > Tasks > Debugging Files and Applications > Debugging Using the Zend Browser Toolbar

Debugging Using the Zend Browser Toolbar

 

This procedure describes how to debug using the Zend Browser Toolbar.

Note:

In order to enable Zend Studio to debug files located on the server, remote debugging needs to be configured. See Setting Up Remote Debugging for more details.

 

 

Instructions on how to complete a procedure

To debug using the Zend Browser Toolbar:

  1. Ensure the Zend Browser Toolbar is installed on your browser.
    If you have not yet installed the Zend Browser Toolbar, see Installing and Configuring the Zend Browser Toolbar for more information.

  2. Open your browser and browse to the page from which you would like to start debugging.

  3. Ensure Zend Studio is open. You can open it by clicking the Zend Studio button in the toolbar.

  4. Click the button on the Zend Browser Toolbar to debug the page currently displayed in the browser.
    To do this, the page is reloaded, and instructions are automatically transmitted to the server for the execution to be done in debug mode. This means  that if the POST data has been transmitted to the current page, the browser will ask if the user wishes to post them again before executing the page in debug mode. In the same way, if the page uses frames (including hidden ones), the toolbar will request which frame the user wants to debug.
    -Or- select one of the following debug options by clicking the arrow to the right of the Debug button :

  • Next page on site - The debugging session will be launched when the next link is clicked, a form is posted, or an AJAX request is executed.

  •  All forms (POST) on this site - The debugging session will be launched every time a link is clicked, a form is posted or an AJAX request is executed using the POST method. The script that will be debugged will be the script designated as the action of the form or link.

  • All pages on this site - Debugs all pages from the current page.

Note:

If the files you would like to debug exist in your workspace, you can choose to debug the workspace copy of your files by going to Extra Stuff | Settings on the Toolbar and selecting the 'Debug Local Copy' option.
In Zend Studio, if path mapping has not yet been configured, a path mapping dialog will be displayed once the debugging session is launched to determine which workspace files will be debugged. See Path Mapping for more details.

The relevant debug session will be launched in Zend Studio.

 

 

Related Links:
Zend Browser Toolbar

Installing the Zend Browser Toolbar

Zend Browser Toolbar Settings

 

 

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