
|
To debug using the Zend Browser
Toolbar:
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.
Open your browser
and browse to the page from which you would like to start
debugging.
Ensure Zend Studio is open.
You can open it by clicking the Zend Studio
button in the toolbar.
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. |