Solved

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

Posted on 2008-10-09
3
872 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
Comment Utility
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
Comment Utility
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
Comment Utility
You are missing the debugging component. See http://www.zend.com/topics/Debugger-Install.pdf
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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 …

744 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now