Solved

zend studio debugger does not stop on breakponts when debugging PHP web page

Posted on 2008-10-09
3
878 Views
Last Modified: 2013-12-13
i installed xampp on Windows XP (php version 5.2.6 ) and then development studio 6.1.0.

the problem is that when debugging PHP Web page id does not stop on breakpoints.

here is my .metadata for the project:


<?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration type="org.eclipse.php.debug.core.launching.webPageLaunch">
<booleanAttribute key="auto_generated_url" value="true"/>
<stringAttribute key="base_url" value="http://localhost/"/>
<booleanAttribute key="debugNoRemote" value="false"/>
<stringAttribute key="debugPages" value="debugAllPages"/>
<stringAttribute key="file_name" value=""/>
<booleanAttribute key="firstLineBreakpoint" value="true"/>
<stringAttribute key="name" value="Default PHP Web Server"/>
<booleanAttribute key="org.eclipse.php.debug.core.OpenInBrowser" value="true"/>
<booleanAttribute key="org.eclipse.php.debug.core.RunWithDebugInfo" value="true"/>
<stringAttribute key="org.eclipse.php.debug.coreconfiguration_delegate_class" value="org.eclipse.php.internal.debug.core.launching.PHPWebPageLaunchDelegate"/>
<stringAttribute key="org.eclipse.php.debug.corephp_debugger_id" value="org.eclipse.php.debug.core.zendDebugger"/>
</launchConfiguration>



Also should my php.ini does not have a debuggin section. What this section should look like for php Zend
debugger ?
0
Comment
Question by:iskibinska
  • 2
3 Comments
 
LVL 48

Expert Comment

by:hernst42
ID: 22678728
You should see something like the following in your phpinfo():

Zend Debugger
Passive Mode Timeout       20 seconds
Connector PID       4581

Directive      Local Value      Master Value
zend_debugger.allow_hosts      172.20.0.0/16,10.170.43.0/24,127.0.0.1/32      172.20.0.0/16,10.170.43.0/24,127.0.0.1/32
zend_debugger.allow_tunnel      172.20.0.0/16,10.170.43.0/24,127.0.0.1/32      172.20.0.0/16,10.170.43.0/24,127.0.0.1/32
zend_debugger.connect_password      no value      no value
zend_debugger.deny_hosts      no value      no value
zend_debugger.expose_remotely      never      never
zend_debugger.httpd_uid      30      30
zend_debugger.max_msg_size      2097152      2097152
zend_debugger.tunnel_max_port      65535      65535
zend_debugger.tunnel_min_port      1024      1024
0
 

Author Comment

by:iskibinska
ID: 22679342
I don't have this one, so what is missing and how to install it ?

0
 
LVL 48

Accepted Solution

by:
hernst42 earned 500 total points
ID: 22685203
You are missing the debugging component. See http://www.zend.com/topics/Debugger-Install.pdf
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question