ActiveState Community

Komodo IDE (v5.2) php debugger doesn't work with php 5.3

Posted by tipjoe on 2009-09-23 16:46

I spent a lot of time trying to get the php debugger (xdebug) in the Komodo IDE (v5.2) to work. I was using wamp with php5.3. No luck. When I switched to php5.2x it was fine.

fyi - log message said it couldn't determine the php.exe version. Could someone from Active State reply and tell me if this is in a new update that I don't have or if there's a date when this will work. I don't want to start php 5.3 development if I don't have a good debugger.

ericp | Thu, 2009-09-24 10:42

First, when debugging PHP, you have to match up the right XDebug php_xdebug.dll
with the php.exe executable -- they have to be built with the same compiler,
and both have to have the same thread-safety setting.

It turns out that the thread-safe version of XDebug built with VC6 is
broken, and will cause crashes during debugging. In fact, PHP won't even
successfully load it.

I've also noticed that we made a change in 5.2 that prevents recognizing
php-cgi.exe correctly. Are you using php.exe or php-cgi.exe?
Are there any messages in pystderr.log?
(see the FAQ page for the question
"Where can I find the Komodo files?" at
http://community.activestate.com/faq/komodo-file-locations)

Regards,
Eric