You are here: User Guide > Tasks > Debugging and Profiling Zend Server Events > Debugging / Profiling Events from Zend Server

Debugging / Profiling Events from Zend Server

Zend Studio 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 Zend Studio 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 Event List.

Note:

This can be done from within Zend Studio 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 Zend Studio.

  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:

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

  • 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 Zend Studio.

Note:

If Zend Server cannot connect to Zend Studio , 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 for more information.

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:
Zend Server Integration

Debugging and Profiling Zend Server Events

Importing a Zend Server Event File

Setting Up Zend Server Integration

 

 

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