Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2008-10-09
3
Medium Priority
?
888 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 2000 total points
ID: 22685203
You are missing the debugging component. See http://www.zend.com/topics/Debugger-Install.pdf
0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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 …
Suggested Courses

597 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