[ciapug] PDT vs PHPEclipse

Eric Junker eric at eric.nu
Thu Sep 20 14:52:51 CDT 2007


Matthew Nuzum wrote:
> On 9/20/07, Eric Junker <eric at eric.nu> wrote:
>> PDT 1.0 was recently released. http://www.zend.com/pdt
>>
>> I currently use PHPEclipse and am happy with it. Has anybody tried both
>> and have an opinion on which is better?
> 
> Do either support debugging (and does it actually work?). I've wanted
> that for a while and for years I've seen it demoed in screenshots and
> etc, but never been able to make anything happen.

PDT supports the Zend Debugger and I know PHPEclipse works with Xdebug. 
  I recently installed Xdebug 2.0 and was able to step through my code 
but I couldn't get breakpoints to work using remote debugging. Xdebug 
also does profiling and code coverage analysis which integrates with 
PHPUnit.

Even if your IDE doesn't support debugging I still think it might be 
useful to use Xdebug. You can get some nice stack traces which help with 
debugging. Here's a presentation that shows some of the features of 
Xdebug. http://derickrethans.nl/files/xdebug-phptek7.pdf

Eric


More information about the ciapug mailing list