You are here: User Guide > Concepts > Code Tracing

Code Tracing

Zend Server Code Tracing captures full execution data (trace data) of PHP applications in real time. The execution data includes function call trees, arguments and return values, function execution duration, memory usage and indication for an executed files name and line of code. This enables you to capture problems when they occur, which eliminates the need to set up environments and reproduce the steps that led up to the failure. Integrating Code Tracing into Zend Studio allows you to view the trace data and open code trace files inside of your environment. Code Tracing uses the Code Tracing perspective to allow you to view the trace data within your environment.

This feature is useful in resolving performance issues, memory usage issues, and functional errors that occur in a production environment.

In order to use the Code Tracing feature, you must first export a Zend Server Event File from Zend Server and then import the Zend Server Event File into Zend Studio. Once the Zend Server Event File has been imported, you can open the code trace and the source of trace data.

Important Note:

For more information about additional features and usability of Code Tracing see Code Tracing in the Zend Server Online Documentation.

 

The Code Tracing feature in Zend Studio allows you to do the following:

For more information see Working with Code Tracing.

Note:

The source of the execution data can only be opened in an environment in which the project already exists locally.

 

 

Related Links:
Working with Code Tracing

Importing a Zend Server Event File

Opening the Source of Trace Data

Tracer Preferences

Zend Server Integration

Zend Server

Code Tracing perspective

Tracer View

Debugging and Profiling Zend Server Events

 

 

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