views:

46

answers:

0

Hey guys, i am currently trying to get xdebug to work on our development server. As client i am using netbeans and the connection so far works without problems. But when i try to set a breakpoint within netbeans it is just getting ignored.

And yeah, i already googled for hours and also found some questions here that perfectly fit my description: SO 1 SO 2

But this does not seem to solvve it for me. The xdebug module is loaded via zend_extension=path/to/xdebug.so in the

/etc/php5/conf.d/xdebug.ini

I also looked at the php5/apache and php5/cli php.ini to make sure it is not loaded with extension= somewhere there. I also checked the "additional .ini files parsed" found by phpinfo() and it seems to be nowhere else loaded.

By executing php -m i can see the loaded Xdebug module in

[PHP Modules]

and in

[Zend Modules]

Not sure if this indicates that it is still loaded twice or if it is fine like that? Still if i remove the zend_extension=/path/to/xdebug.so from the conf.d/xdebug.ini it is also no longer loaded. So i really assume it is only loaded there.

If i set the remote_log option is see that Netbeans is trying to set something:

<- breakpoint_set -i 452 -t line -s enabled -f file:///http:/development.xxx.de/users/itsame/index.php -n 15 ->

But it seems to have no effect (looks pretty much the same like in the other SO questions i've posted above. But if i do a manual xdebug_break() inside the php code it handels it properly.

PHP Version is 5.2.6 and Xdebug is 2.1. Thanks for any info where i could have a look next.