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 
  

Wamp Server Xdebug
Goto page Previous  1, 2
 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
nsteblay



Joined: 20 May 2009
Posts: 5

PostPosted: Wed May 20, 2009 3:42 am    Post subject: Netbean 6.5 / Xdebug 2.0.4 / Wamp 2.0h on Vista-64 Working Reply with quote

Here is the section I added to the PHP.INI file.

[xdebug]
zend_extension_ts="c:/wamp/bin/php/php5.2.9-2/ext/php_xdebug-2.0.4-5.2.8.dll"
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.idekey=default

Netbeans 6.5 PHP debugging is awesome. Running Joomla. Very helpful.
Back to top
View user's profile Send private message
Ido Magal
Posted via mailing list.





PostPosted: Thu May 21, 2009 4:34 am    Post subject: Netbeans issue with debugging Reply with quote

hi, I just installed Netbeans for the first time to debug Drupal. I'm
also using the Drupal plugin.

I'm able to attach to my server from my desktop with netbeans/xdebug but
Netbeans isn't behaving as expected. Aside from the "first line"
breakpoint, if I break elsewhere, it doesn't bring the file to the
foreground and it doesn't have the arrow showing on what line it is. I
know it's working properly because as I step through I can see the stack
and the local variables update, but it's really not usable since I after
a few lines it's hard to know where I am in the code.

Anyone have a clue as to what's going wrong?
Back to top
Tomas Mysik
Posted via mailing list.





PostPosted: Thu May 21, 2009 6:47 am    Post subject: Netbeans issue with debugging Reply with quote

Hi,

Dne
Back to top
demlog



Joined: 19 Aug 2009
Posts: 2

PostPosted: Wed Aug 19, 2009 6:53 am    Post subject: zend_extension with _ts Reply with quote

Spent 2 hours trying to get xdebug enabled for php 5.3.0. In the end I randomly removed _ts from the zend_extension_ts parameter and everything worked suddenly!

- I'm using Wampserver
- I downloaded the thread safe version here http://www.xdebug.org/files/php_xdebug-2.0.5-5.3-vc6.dll
- my phpinfo says " Thread Safety enabled "

In case anyone is hitting their forehead against their keyboard try removing the _ts
Back to top
View user's profile Send private message
joe_zh



Joined: 15 Oct 2009
Posts: 1

PostPosted: Thu Oct 15, 2009 6:58 am    Post subject: Re: zend_extension with _ts Reply with quote

demlog wrote:
Spent 2 hours trying to get xdebug enabled for php 5.3.0. In the end I randomly removed _ts from the zend_extension_ts parameter and everything worked suddenly!

- I'm using Wampserver
- I downloaded the thread safe version here http://www.xdebug.org/files/php_xdebug-2.0.5-5.3-vc6.dll
- my phpinfo says " Thread Safety enabled "

In case anyone is hitting their forehead against their keyboard try removing the _ts


Hi:
i met the same problem.
and i try to use php_xdebug-2.0.5-5.3-vc6.dll and php_xdebug-2.0.5-5.3-nts-vc6.dll
use
zend_extension_ts , zend_extension ,extension
but i alse can't debug.
Back to top
View user's profile Send private message
fluffy



Joined: 18 Oct 2009
Posts: 1
Location: UK

PostPosted: Sun Oct 18, 2009 10:01 pm    Post subject: Reply with quote

hi, I've been trying to get xdebug and wamp working all day, and finally got it sorted. I've registered on here to post how for other peoples future reference.

In the end I changed the php.ini in the php folder (C:\wamp\bin\php\php5.2.8 ) AND the apache folder (C:\wamp\bin\apache\Apache2.2.11\bin) to:

[XDebug]
zend_extension_ts = "C:\wamp\bin\php\php5.2.8\ext\php_xdebug-2.0.4-5.2.8.dll"
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=10000

I did try renameing the dll to just php_xdebug.dll but I don't think it worked like that.

I'm using wamp 2.0 with php 5.2.8 and eclipse, works great now, but it took me a whole day to get it sorted with wamp, had it running on xampp this morning quite easily, but that had the wrong version of php and I prefer wamp.
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
Goto page Previous  1, 2
Page 2 of 2

 
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