Solved

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

Posted on 2008-10-09
3
880 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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 count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

830 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