I got the latest XAMPP package and extracted it at c:\\tools php.exe -v
gives following output
C:\tools\xampp\php>php.exe -v
PHP 5.3.5 (cli) (built: Jan 6 2011 17:54:09)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Eclipse PDT, I am using, has this version
Eclipse for PHP Developers
Version: Helios Service Release 2
Build id: 20110218-0911
Then I added ZendDebugger to eclipse from http://downloads.zend.com/pdt
, so it created folder C:\\tools\\eclipse-php-helios-SR2-win32\\plugins\\org.zend.php.debug.debugger.win32.x86_5.3.18.v20100905\\resources\\php53
I modified php.ini
{ found in c:\\tools\\xampp\\php } to setup ZendDebugger.dll
But no matter what I do, I am not able to debug my php web applications. I get this error when I do "Test Debugger" from Eclipse A timeout occured when the debug server attempted to connect to the following client hosts/IPs: -127.0.0.1 Then I came across this old post Installing Zend Debugger on Wamp/Windows Vista . Do I need to go back to old versions of php in order for zend debugger to work with Eclipse?
regards, Yogesh
xdebug is working in my case - so this should not be a problem related to php5.3 and xdebug.
For this I'd check the following things:
If the function xdebug_break() works but the script does not stop at breakpoints set in the IDE - I'd check if the dll-file for xdebug is included as zend_extension or extension. Xdebug has to be included as zend_extension for it has to be started before the parser of php is started!
Here's a good link to explain every step in it's detais. It's related to the IDE Komodo - but the installation of xdebug is the same: http://docs.activestate.com/komodo/5.0/debugphp.html
Bye Simon
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.