Setting up Eclipse with PDT and Zend Debugger
Would anyone mind going through a session on how to set up Eclipse with the Zend Debugger. I have been able to debug and set breakpoints on index.php but am having major issues trying to set breakpoints on modules.
Groups:
Login to post comments
Ical feed
Recommendation for XDebug
I strongly recommend XDebug. It's the only thing I have been able to make consistently work, plus it is used by PHPUnit to build coverage reports. Has anyone had a good experience with Eclipse + Zend debugging?
XDebug
I've had a devil of a time setting up XDebug on Vista 64 (my workstation) I'd be very interested in a more robust solution. I'm holding out hope that my uber-IDE will be NetBeans 6.5, now with PHP support.
I will try XDebug
I'd appreciate a walkthrough either way. I suspect I am doing something procedurally wrong in trying to debug modules though not related to the configuration of Zend Debugger.
Still having problems? Is
Still having problems?
Is your whole Drupal installation in your eclipse project? or just the module you're trying to debug?
Yes, the entire drupal site
Yes, the entire drupal site was imported into eclipse.
Have you done the steps
Have you done the steps listed in this article,
http://drupal.org/node/157609
Tours the bottom there's a lot of information on getting this fix.
If none of that helps. Make sure that when you open the run dialog the file settings match your folder set up.
I found it to be easier to check on auto generate under the URL settings box and make sure that matches your folder structure. If it doesn't just match your folder structure to that and and you should be fine.
This usually doesn't match when you have your Drupal installation under a folder under your root web directory because eclipse expect your project file to be the root directory or when your Drupal installation is a different name than the project in eclipse.
Yes
Yes I have followed the steps but I noticed that my perspective is not shifting automatically to the debug.
A topic for the next meetup?
This seems like a good session to cover at the next meetup. I guess there's probably many in the audience (myself included) that have never used debugging. Anyone willing to present on this?
If there's enough request
If there's enough request then I wouldn't mind presenting on it.