|trouble with Zend Debugger [message #645630]
||Sun, 19 December 2010 02:43
Registered: December 2010
i posted this on another board:
with apologies, i'm posting it again on this one, where hopefully it will have more interest.
* * * *
i have been going in circles trying to get Eclipse + php debugging for Drupal working. i have installed Eclipse a couple of times from different sources. then i decided to delete them and pick up the 'all-in-one' version of Eclipse from the Zend site:
(I got the 32 bit for Linux. this is not the Zend Studio upgrade.)
with Eclipse Helios up and running, i installed the XTend Drupal plugin:
I also downloaded the Zend Server-Debugger from this page:
i have some reservations about where I put Eclipse and the Zend Debugger. I put them both in my Drupal root; i.e.,
then i modified the PHP.ini. (I know we're not supposed to do this. however, every time i try to create an INI in the /etc/apache2/conf.d folder, I get an error. i don't know how to make a custom INI.)
i changed the PHP to add these lines:
I have closely looked over the paths given for zend_extension and zend_extension_manager.debug_server. The paths are correct.
when i run phpinfo.php, among the many lines of output I see this:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
(I don't see a message indicating the Zend Debugger is working.)
from Eclipse, i have created a project that points to the folder of my Drupal installation. I have created a Debug Configuration that points to the index.php for the particular installation of Drupal i am attempting to debug.
when i try to test the debug configuration i get this familiar error:
"A timeout has occurred on http://localhost/Drupal/foobar/index.php . Please verify the Zend Debugger is properly installed on the server and that the 'dummy.php' is located in your Web Server's document root."
i don't think the problem is the dummy.php, as i copied it into /var/www .
does anyone have any ideas?
thanks in advance.
* * * *
(in response to a suggestion from someone on another board (besides eclipse.org) I commented out the reference in the PHP.ini to Zend_Extension_Manager. Here's my reply to the person who made that suggestion).
...thanks for the reply. i commented out the line in php.ini that refers to the Zend_extension_manager. the php.ini looks like:
i restarted Apache. i also verified (again) that the zend_extension path is correct.
unfortunately, nothing has changed. phpInfo shows the same message; it doesn't indicate the Zend Debugger is working.
also, when i start Eclipse Helios, click 'debug configurations' and then try to test the index.php for my Drupal installation, i get the same error about Zend Debugger and/or the dummy.php.
Powered by FUDForum
. Page generated in 0.01813 seconds