Debugging / Profiling Events from Zend Server

PDT allows integration with Zend Server so that Zend Server Events can be viewed, debugged and profiled in order to detect and locate errors and issues causing slow script execution.

Note

Before debugging Zend Server events, ensure the integration between PDT and Zend Server is correctly configured as described in Setting Up Zend Server Integration.

 

 

Instructions on how to complete a procedure

To debug an event directly from Zend Server:

  1. Open your Zend Server GUI.

Note:

This can be done from within PDT either through the Servers view or by selecting the server on which you have configured your Zend Server integration from the drop-down list next to the Zend Server icon on the toolbar . See Configuring Zend Server Settings in Zend Studio for more on configuring a Zend Server in PDT.

  1. Access the Event list by browsing to the Monitor | Events tab.

  2. Click the Event which you want to debug.

  1. To select the server on which the debug/profile session will be run, click the Settings button.
    This gives you access to the following options:

  2. Originating server - This will debug the event on the server from which the event originated

  3. Alternate server - Allows you to debug the event on a different server (this server must also be running the Zend Debugger). Enter the IP address of the required server.

  1. Click the Set button to save your settings.

  2. Click the Debug Event  or Profile Event button.

  3. The relevant debug / profile session is launched in PDT.

Note:

If Zend Server cannot connect to PDT, see both the see the Setting Up Zend Server Integration topic and the 'Error: Failed to Communicate with Zend Studio' topic in the Zend Server Online Help (http://files.zend.com/help/Zend-Serverzend-server/htm) for more information.

  1. See Running and Analyzing Debugger Results for more information on running a debug session or the  PHP Profile Perspective topic for more on the information displayed once a Profile session has been run.

 

 

 

Related Links

Related Links:
Zend Server Integration

Debugging and Profiling Zend Server Events

Importing Events Into Zend Studio

Debugging / Profiling Events from Zend Server

Setting Up Zend Server Integration