Importing Zend Server Event Data allows you to view and analyze trace data (execution data) from your server. 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.
Zend Studio allows you to import a .amf, .xml or .zsf file:
A .amf file is a trace data file which can be opened without access to Zend Server. The trace file opens in the Code Tracing editor where you can locate errors directly in the trace data and then Open the Source of Trace Data. You may then edit the source inside of the corresponding local file.
A .xml file is an event configuration file which allows you to recreate and debug an error when you have access to a Zend Server on which the application exists.
A .zsf file is a unified event file which may contain .amf files and/or a .xml files. To import a .zsf file, follow the procedure Importing Zend Server Event Data if you would like to use an included .amf file to view and analyze trace data, or follow the procedure Importing a Zend Server Event File to use an included .xml file to recreate the error using the event details.
Note:
In order to import Zend Server Event Data, you must first export Zend Server Event Data from your server. For more information see Exporting Trace Information in the Zend Server Online Documentation.
Having an active connection with a licensed version of Zend Server or Zend Server Cluster Manager allows you to fully integrate the Code Tracing feature. For more information see Zend Server.
This procedure describes how to import an amf trace data file into Zend Studio. Trace data in an amf format can be imported and used to Open the Source of Trace Data even when there is no active connection with a Zend Server which contains the application.
|
|
|
To import a .amf Zend Server Event File:
Note: If you have downloaded a .zsf file containing both a .amf file and .xml file, a message will appear after clicking Next in the Import Zend Server Event File dialog asking you which action you would like to take. To use the .amf file to view and analyze trace data, click Trace.
|
For information about the functionalities available in the Zend Server Code Tracer perspective see Working with Code Tracing. |
This procedure describes how to import an xml event file into Zend Studio. You can import an xml format Zend Server Event File to recreate and debug an error. The Zend Studio functionality for an imported xml Zend Server Event File is only available when you have access to a Zend Server on which the application exists.
|
|
|
To import a .xml Zend Server Event File:
Note: If you have downloaded a .zsf file containing both a .amf file and .xml file, a message will appear after clicking Next in the Import Zend Server Event File dialog asking you which action you would like to take. To use the .xml file to recreate the error using the event details, click Event.
Note: In order to run the diagnostics on an alternate server, the alternate server must also contain the application that generated the events.
|
For information about how to evaluate the debugging results see Running and Analyzing Debugger Results. |
|
|
|
Related Links: |
|
|
©1999-2012 Zend Technologies LTD. All rights reserved.