Page 1 of 1

XDebug not working on 64-bit Vista?

Posted: Thu Sep 18, 2008 11:52 am
by mindplay
Hi,

I've tried everything I could think of, I can not get XDebug to work on my setup.

Or rather, I can get it to "work" - a simple testpage where I try to divide by zero, for example, will produce a nicely xdebug-formatted error message, backtrace, etc.

However, running anything more complex than that, like trying to open up phpMyAdmin, caused Apache to crash, every time.

My machine is running Windows Vista Home Premium 64-bit.

I'm running Apache 2.2.9

Code: Select all

Server version: Apache/2.2.9 (Win32)
Server built:   Jun 13 2008 04:04:59
I'm using the "php5apache2_2.dll" module for Apache, and PHP release 5.2.6

Code: Select all

PHP 5.2.6 (cli) (built: May  2 2008 18:02:07)
This setup works great otherwise! But not with XDebug.

Have tried downgrading to PHP 5.2.5, and 5.2.1, using the appropriate XDebug modules - have tried both snapshot and release versions of those, but to no avail.

Will XDebug run under 64-bit Vista at all, or am I just out of luck?

Any ideas or suggestions would be appreciated!

Re: XDebug not working on 64-bit Vista?

Posted: Thu Oct 02, 2008 5:36 am
by dyrathror
Hi mindplay,

I am running the same setup on 32-bit Vista and have the same problems.

First I run Apache 2.2.8 with xDebug 2.0.2 and 2.0.3 and got connection losses as soon as I instantiated a debug session. After I upgraded to Apache 2.2.9 I cannot even browse my pages any more and Apache crashes already.

I also tried the xDebug 2.1dev with the same result.

I opened a ticket for this bug. Lets see if that helps.

Re: XDebug not working on 64-bit Vista?

Posted: Sun Oct 05, 2008 11:52 am
by Weirdan
The problem is being discussed on xdebug mailing lists, but not yet solved as far as I know. Have you tried dlls from here: http://pecl4win.php.net/ext.php/php_xdebug.dll ? Besides, do you use any other zend extensions (like Zend Optimizer, for example). According to xdebug author, xdebug have to be the only zend extension used to work properly.

Re: XDebug not working on 64-bit Vista?

Posted: Mon Dec 22, 2008 8:21 am
by kaisellgren
I was running PHP 5.2.5 x64 with apache 2.2 .dll x64 and all was working fine except xdebug.dll could not be loaded.

I thought xdebug does not run on x64, but after I downloaded PHP 5.2.5 again and replaced the files it suddenly worked.

I don't know the reason and I don't care :P just wanted to share my 2 cents here.