[xdebug-general] xdebug not working from Eclipse (Mac)

From: Anas Mughal <anasmughal[@]yahoo.com>
Date: Mon, 29 Nov 2010 00:08:02 -0800 (PST)

I was able to successfully setup and run xdebug from Windows.
However, when I tried to setup and run xdebug from Eclipse on Mac, I ran into issues. At the beginning, I was getting the error:

Failed loading /Users/anasmughal/Library/xdebug-2.1.0/xdebug-2.1.0/modules/xdebug.so:  (null)

I resolved that by running:
CFLAGS='-arch x86_64' ./configure --enable-xdebug

Now, xdebug shows up successfully in phpinfo output. And, Apache error log reports no problems.

However, when I try to debug from inside Eclipse, I see the following in the Eclipse console:

Failed loading /Users/anasmughal/Library/xdebug-2.1.0/xdebug-2.1.0/modules/xdebug.so:  (null)

Could someone please help me figure out how I could resolve this problem.

Environment information:
Mac OS X 10.5.8
Eclipse Helios 64bit (also, tried Helios 32bit... Same problem)
PHP 5.2.14
Apache 2.2.14

Thank you in advance.
--Anas Mughal
http://anas-mughal.com
Received on Mon Nov 29 2010 - 08:14:45 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST