Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Xdebug 2.2.3 not showing local variables
Xdebug 2.2.3 not showing local variables [message #1162239] Wed, 30 October 2013 08:41 Go to next message
Jarno Ralli is currently offline Jarno Ralli
Messages: 1
Registered: October 2013
Junior Member
Dear all,

I have been trying to get xdebug 2.2.3 to work with PHP 5.3.10 (Eclipse Kepler, SR 1) with Apache in the backend. Everything else seems to be O.K but I just don't see any of the local variables when debugging the code (in the variables window). I tested the system out using Netbeans and there everything is O.K, meaning that I see both the local- and the superglobal-variables. Therefore, I am inclined to think that both Xdebug and Apache are working as supposed to.

Following is my xdebug.ini:

zend_extension=/usr/lib/php5/20090626/xdebug.so
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_port=11000
xdebug.remote_host=127.0.0.1
xdebug.remote_log=/tmp/xdebug.log
xdebug.show_local_vars = 1
xdebug.collect_params=2
xdebug.collect_vars=1
xdebug.collect_return=1

Any help on the matter would be appreciated!!!

Re: Xdebug 2.2.3 not showing local variables [message #1171533 is a reply to message #1162239] Tue, 05 November 2013 09:46 Go to previous message
richard riley is currently offline richard riley
Messages: 2
Registered: November 2013
Junior Member
Late to the show but ... you need to compile from source. There is a git repo linked on the xdebug site. Same for me until I compiled 2.3.x (NG : using pecl to install it does not install a working version either)

[Updated on: Tue, 05 November 2013 09:50]

Report message to a moderator

Previous Topic:Failed to launch on PHP server
Next Topic:php function panel in eclipse
Goto Forum:
  


Current Time: Tue Sep 23 22:29:03 GMT 2014

Powered by FUDForum. Page generated in 0.02402 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software