FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Netbeans doesn't show local variables' values, using Xdebug

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
Sergio Lopes
Posted via mailing list.





PostPosted: Mon Jul 27, 2009 10:22 am    Post subject: Netbeans doesn't show local variables' values, using Xdebug Reply with quote

Hi,
I'm having some difficulties getting Xdebug to work, but I don't know if it's a Netbeans problem or a Xdebug one.

I've been using xdebug with netbeans without problems for some time, I was using xampp on Mac OS X, and got the xdebug binaries from Active State debugging page, but something I need to do don't work the same way in xampp, therefor I changed to using Marc Liyanage's php pakage.

I downloaded xdebug sources for 2.0.5, and build them against the new PHP 5.3.0, set up the php.in file with the same options I had been using in xampp, just corrected the paths.

Now the debugger starts, stops at the right breakpoints, but only shows SuperGlobals, all other variables are show as uninitialized, even though they have values.
Has anyone had the same or a similar problem? Is there any place I can go to try and figure what is going on?

Xdebug was compiled with the flag for a 64bit system.

Currently my specs are:
MacBook Pro, with Intel Core 2 Duo
Mac OS X 10.5.7
HP 5.3.0
Back to top
Laurent CAPRANI



Joined: 07 Aug 2009
Posts: 2
Location: Montréal

PostPosted: Fri Aug 07, 2009 1:59 am    Post subject: Reply with quote

Same problem here (Windows XP, PHP 5.3.0 VC6 TS, Xdebug 2.0.5)
It is not related to NetBeans since other clients behave the same (e.g. xdebugclient).

I tried different configurations. PHP 5.2.9 (XAMPP 1.7.1) + XDebug 2.0.5 (php_xdebug-2.0.5-5.2.dll) works.
So I think it is a bug with XDebug for PHP 5.3 (php_xdebug-2.0.5-5.3-vc6.dll).
Back to top
View user's profile Send private message
Alexey.Miller



Joined: 23 Sep 2009
Posts: 1

PostPosted: Wed Sep 23, 2009 5:44 pm    Post subject: I have same issue Reply with quote

I have same issue. Is there good news about it?

php 5.3, xdebug 2.0.5
Kubuntu 9.04 with gotdeb repo
Netbeans 6.7.1
Back to top
View user's profile Send private message
Laurent CAPRANI



Joined: 07 Aug 2009
Posts: 2
Location: Montréal

PostPosted: Thu Sep 24, 2009 1:32 pm    Post subject: Netbeans doesn't show local variables' values, using Xdebug Reply with quote

This is definitely an Xdebug bug. It will be fixed in next (2.1) release.

The beta edition is available from here: http://files.derickrethans.nl/xdebug-2.1-all.zip

or you could downgrade to PHP 5.2, which is a safe since a lot of software is still not 5.3 ready.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB