Solved

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

Posted on 2008-10-09
3
881 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

732 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