| <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> |
| <html> |
| <head> |
| <meta http-equiv="content-type" content="text/html; charset=utf-8"> |
| <meta name="generator" content="Adobe RoboHelp - www.adobe.com"> |
| <title>Debugging / Profiling Events from Zend Server</title> |
| <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss"> |
| <!-- |
| if (navigator.appName !="Netscape") |
| { document.write("<link rel='stylesheet' href='default.css'>");} |
| //--> |
| </script> |
| <style> |
| <!-- |
| body { border-left-style:None; border-right-style:None; border-bottom-style:None; background-color:Transparent; border-top-style:None; } |
| --> |
| </style><style type="text/css"> |
| <!-- |
| h1.whs1 { color:#00709e; } |
| table.whs2 { x-cell-content-align:top; width:100%; border-spacing:0px; } |
| col.whs3 { width:7.093%; } |
| col.whs4 { width:92.907%; } |
| tr.whs5 { x-cell-content-align:top; } |
| td.whs6 { width:7.093%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; border-top-style:none; } |
| p.whs7 { font-size:6pt; } |
| td.whs8 { width:92.907%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; } |
| p.whs9 { font-weight:bold; } |
| td.whs10 { width:7.093%; padding-right:10px; padding-left:10px; border-left-style:none; border-right-style:none; border-bottom-style:none; } |
| img_whs11 { border:none; width:28px; height:33px; float:none; border-style:none; } |
| td.whs12 { width:92.907%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; } |
| ol.whs13 { list-style:decimal; } |
| p.whs14 { font-weight:normal; } |
| img_whs15 { border:none; width:36px; height:22px; float:none; border-style:none; } |
| img_whs16 { border:none; width:740px; height:542px; float:none; border-style:none; } |
| img_whs17 { border:none; width:98px; height:20px; float:none; border-style:none; } |
| img_whs18 { border:none; width:58px; height:21px; float:none; border-style:none; } |
| img_whs19 { border:none; width:111px; height:23px; float:none; border-style:none; } |
| img_whs20 { border:none; width:108px; height:21px; float:none; border-style:none; } |
| td.whs21 { width:100%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; } |
| table.whs22 { x-cell-content-align:top; width:100%; x-condition:Online; border-spacing:0px; } |
| tr.whs23 { x-cell-content-align:top; height:16px; x-condition:Online; } |
| td.whs24 { width:7.093%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-bottom-style:none; border-top-style:none; x-condition:Online; } |
| td.whs25 { width:92.907%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-top-style:none; x-condition:Online; } |
| tr.whs26 { x-cell-content-align:top; height:35px; x-condition:Online; } |
| td.whs27 { width:7.093%; padding-right:10px; padding-left:10px; border-left-style:none; border-right-style:none; border-bottom-style:none; x-condition:Online; } |
| img_whs28 { border:none; width:28px; height:18px; float:none; x-condition:Online; border-style:none; } |
| td.whs29 { width:92.907%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; x-condition:Online; } |
| tr.whs30 { x-cell-content-align:top; height:19px; x-condition:Online; } |
| div.whs31 { width:100%; } |
| p.whs32 { text-align:right; x-condition:Product, Online; } |
| p.whs33 { text-align:right; x-condition:Online; } |
| p.whs34 { text-align:center; x-condition:PDT; text-decoration:underline; } |
| --> |
| </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> |
| <!-- |
| function reDo() { |
| if (innerWidth != origWidth || innerHeight != origHeight) |
| location.reload(); |
| } |
| if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { |
| origWidth = innerWidth; |
| origHeight = innerHeight; |
| onresize = reDo; |
| } |
| onerror = null; |
| //--> |
| </script> |
| <style type="text/css"> |
| <!-- |
| div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } |
| p.WebHelpNavBar { text-align:right; } |
| --> |
| </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> |
| <script type="text/javascript" language="javascript" src="whver.js"></script> |
| <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> |
| <script type="text/javascript" language="javascript1.2" src="whutils.js"></script> |
| <script type="text/javascript" language="javascript1.2" src="whlang.js"></script> |
| <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> |
| <script type="text/javascript" language="javascript1.2"> |
| <!-- |
| if (window.gbWhTopic) |
| { |
| if (window.setRelStartPage) |
| { |
| |
| } |
| |
| |
| if(1) |
| { |
| |
| } |
| |
| if (window.setRelStartPage) |
| { |
| setRelStartPage("IDE_Help.htm"); |
| |
| autoSync(1); |
| sendSyncInfo(); |
| sendAveInfoOut(); |
| } |
| |
| } |
| else |
| if (window.gbIE4) |
| document.location.reload(); |
| //--> |
| </script> |
| </head> |
| <body leftmargin="5" topmargin="5" rightmargin="5" bottommargin="5"><script type="text/javascript" language="javascript1.2"> |
| <!-- |
| if (window.writeIntopicBar) |
| writeIntopicBar(4); |
| //--> |
| </script> |
| <h1 class="whs1">Debugging / Profiling Events from Zend Server</h1> |
| <p>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.</p> |
| <p class=Note>Note</p> |
| <p class=NoteText>Before debugging Zend Server events, ensure the integration |
| between PDT |
| and Zend Server |
| is correctly configured as described in <a HREF="Setting_Up_Zend_Server_Integration.htm">Setting |
| Up Zend Server Integration</a>.</p> |
| <table x-use-null-cells cellspacing="0" width="100%" class="whs2"> |
| <col class="whs3"> |
| <col class="whs4"> |
| |
| <tr valign="top" class="whs5"> |
| <td colspan="1" rowspan="1" width="7.093%" class="whs6"> |
| <p class="whs7"> </td> |
| <td colspan="1" rowspan="1" width="92.907%" class="whs8"> |
| <p class="whs9"> </td></tr> |
| <tr valign="top" class="whs5"> |
| <td width="7.093%" class="whs10"> |
| <p class="whs7"><img src="ref_icon.png" x-maintain-ratio="TRUE" alt="Instructions on how to complete a procedure" width="28px" height="33px" border="0" class="img_whs11"></td> |
| <td width="92.907%" class="whs12"> |
| <p class="whs9">To debug an event directly from Zend Server:</p> |
| <ol type="1" class="whs13"> |
| <li style="margin-left: -20px; font-weight: normal; " class=p><p class="whs14">Open |
| your Zend Server |
| GUI.</p></li> |
| </ol> |
| <p class=Note style="margin-left: 24px;">Note:</p> |
| <p class=NoteText style="margin-left: 24px;">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 <img src="server_icon.png" x-maintain-ratio="TRUE" width="36px" height="22px" border="0" class="img_whs15">. See <a href="configuring_zend_server_settings_in_studio.htm">Configuring |
| Zend Server Settings in Zend Studio</a> for more on configuring a Zend Server |
| in PDT.</p> |
| <ol start="2" type="1" class="whs13"> |
| <li style="margin-left: -20px; font-weight: normal; " class=p><p class="whs14">Access |
| the Event list by browsing to the Monitor | Events tab.</p></li> |
| <li style="margin-left: -20px; font-weight: normal; " class=p><p class="whs14">Click |
| the Event which you want to debug.</p></li> |
| </ol> |
| <p class=picture><img src="server_event.png" x-maintain-ratio="TRUE" width="740px" height="542px" border="0" class="img_whs16"></p> |
| <ol start="4" type="1" class="whs13"> |
| <li style="margin-left: -20px;" class=p><p>To select the server on |
| which the debug/profile session will be run, click the <img src="server_debug_settings_button.png" x-maintain-ratio="TRUE" alt="Settings" width="98px" height="20px" border="0" class="img_whs17"> button.<br> |
| This gives you access to the following options:</p></li> |
| <li class=p-ListBullet1><p class=ListBullet1>Originating server - This |
| will debug the event on the server from which the event originated</p></li> |
| <li class=p-ListBullet1><p class=ListBullet1>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.</p></li> |
| </ol> |
| <ol start="5" type="1" class="whs13"> |
| <li style="margin-left: -20px;" class=p><p>Click the <img src="server_debug_set_button.png" x-maintain-ratio="TRUE" alt="Set" width="58px" height="21px" border="0" class="img_whs18"> |
| button to save your settings.</p></li> |
| <li style="margin-left: -20px;" class=p><p>Click the <img src="server_debug_event_button.png" alt="Debug Event" x-maintain-ratio="TRUE" width="111px" height="23px" border="0" class="img_whs19"> |
| or <img src="server_profile_event_button.png" x-maintain-ratio="TRUE" alt="Profile Event" width="108px" height="21px" border="0" class="img_whs20"> button.</p></li> |
| <li style="margin-left: -20px;" class=p><p>The relevant debug / profile |
| session is launched in PDT.</p></li> |
| </ol> |
| <p class=Note style="margin-left: 24px;">Note:</p> |
| <p class=NoteText style="margin-left: 24px;">If Zend Server cannot connect |
| to PDT, |
| see both the see the <a HREF="Setting_Up_Zend_Server_Integration.htm">Setting |
| Up Zend Server Integration</a> topic and the <a href="http://files.zend.net/help/zend-server/zend-server.htm#error__failed_to_communicate_with_zend_studio.htm" |
| target=_blank>'Error: Failed to Communicate with Zend Studio</a>' topic |
| in the Zend Server |
| Online Help (http://files.zend.com/help/Zend-Serverzend-server/htm) for |
| more information.</p> |
| <ol start="8" type="1" class="whs13"> |
| <li style="margin-left: -20px;" class=p><p>See <a href="analyzing_debugger_results.htm">Running |
| and Analyzing Debugger Results</a> 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.</p></li> |
| </ol></td></tr> |
| <tr valign="top" class="whs5"> |
| <td rowspan="1" colspan="2" width="100%" class="whs21"> |
| <p> </td> |
| </tr> |
| </table> |
| <table x-use-null-cells cellspacing="0" width="100%" class="whs22"> |
| <col class="whs3"> |
| <col class="whs4"> |
| |
| <tr valign="top" class="whs23"><td colspan="1" rowspan="1" width="7.093%" class="whs24"> |
| <p class="whs7"> </td> |
| <td colspan="1" rowspan="1" width="92.907%" class="whs25"> |
| <p> </td></tr> |
| <tr valign="top" class="whs26"><td width="7.093%" class="whs27"> |
| <p class="whs7"><img src="link_icon.png" x-maintain-ratio="TRUE" alt="Related Links" width="28px" height="18px" border="0" class="img_whs28"></td> |
| <td width="92.907%" class="whs29"> |
| <p><span style="font-weight: bold;"><B>Related Links:</B></span><br> |
| Zend Server Integration</p> |
| <p><a HREF="Integrating_with_Zend_Server.htm">Debugging and Profiling Zend |
| Server Events</a></p> |
| <p><a HREF="Importing_Events_Into_Zend_Studio.htm">Importing Events Into |
| Zend Studio</a></p> |
| <p><a href="debugging_events_from_zend_server.htm">Debugging / Profiling |
| Events from Zend Server</a></p> |
| <p><a HREF="Setting_Up_Zend_Server_Integration.htm">Setting Up Zend Server |
| Integration</a></td></tr> |
| <tr valign="top" class="whs30"><td colspan="1" rowspan="1" width="7.093%" class="whs27"> |
| <p class="whs7"> </td> |
| <td colspan="1" rowspan="1" width="92.907%" class="whs29"> |
| <p> </td></tr> |
| </table> |
| <div placeholder id="footer" class="whs31"> |
| <p align="right" class="whs32"><span |
| style="background-color: #ffffff; x-condition: Online, Product;">V</span>iew |
| the Zend Product <a href="http://www.zend.com/en/resources/zend-documentation/zend-studio/zend-studio.htm" |
| style="color: #000000; x-condition: Product, Online;">Online Documentation</a> |
| for the most up-to-date information.</p> |
| <p align="right" class="whs33"><span style="background-color: #ffffff;"><a |
| href="javascript:crlf=" |
| ";h=location.href;t=document.title;e = "" + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (e!=null) location="mailto:documentation@zend.com" + "?Subject= Feedback on " + escape(t) + "&Body=" + escape(e).replace(/ /g, "+") + crlf + " "; void 0" |
| style="x-condition: Online;">Submit Documentation Feedback</a></span></p> |
| <p align="center" class="whs34">PHP Development |
| Tools</p> |
| </div> |
| <script type="text/javascript" language="javascript1.2"> |
| <!-- |
| highlightSearch(); |
| if (window.writeIntopicBar) |
| writeIntopicBar(0); |
| if(0) |
| { |
| |
| } |
| //--> |
| </script> |
| </body> |
| </html> |