News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Robert Basic's Blog:
Debugging Zend Framework unit tests with Xdebug and NetBeans
July 25, 2011 @ 13:57:41

In this quick post today Robert Basic shares a hint for using Xdebug together with Zend Framework unit tests to get effective results.

I've spent this weekend hacking on some unit tests for ZendDojo and I ran into an issue where I need Xdebug to, well, debug. Note, that this is not for debugging a Zend Framework application, but for debugging Zend Framework itself. I am using Netbeans + Xdebug to debug regular code, but debugging unit tests was something completely new for me. Turns out, it's not entirely different from "regular" debugging.

Thanks to hints from this post and some trial and error on working with autoloading, he finally got things working in his Netbeans environment. The trick is setting up the "Index File" to the correct location.

0 comments voice your opinion now!
zendframework unittest dojo netbeans ide index


blog comments powered by Disqus

Similar Posts

Greg Beaver's Blog: Pyrus, PEAR2 and web code coverage report for phpt-based tests

Padraic Brady's Blog: Zend Framework Blog Tutorial - Part 6: Zend_Form & Zend_Auth

Nick Halstead's Blog: Zend Framework RC1 and Zend ACL usage

Zend Developer Zone: Zend Framework Applications Questionnaire

Hasin Hayder's Blog: RSA Encrypting and Decrypting data with Zend_Crypt_Rsa Library


Community Events





Don't see your event here?
Let us know!


introduction series language podcast tips package symfony zendserver list framework laravel install update deployment api library interview release community opinion

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework