background preloader

Pdt

Facebook Twitter

José Roberto Gomes - jragomes - Debugando PHP com Eclipse (PDT) Os-php-eclipse-pdt-debug-pdf.pdf (objeto application/pdf) Xdebug.pdf (objeto application/pdf) Xdebug: instalação, configuração e utilização com WAMP Server - Debugging techniques for PHP programmers. Introduction There are many PHP debugging techniques that can save you countless hours when coding. An effective but basic debugging technique is to simply turn on error reporting. Another slightly more advanced technique involves using print statements, which can help pinpoint more elusive bugs by displaying what is actually going onto the screen. PHPeclipse is an Eclipse plug-in that can highlight common syntax errors and can be used in conjunction with a debugger to set breakpoints. Setting up To learn the concepts described in this article, you are going to need PHP, a Web server, and Eclipse.

We need a Web server to parse the pages you create in PHP and display them to the browser. To take advantage of some of the debugging techniques in this article, you need to install Eclipse V3.1.1 and the plug-in: PHPeclipse V1.1.8. You also need the debugger module extension for PHP. See Resources for download information. Back to top Error messages Error reporting in PHP Testing error reporting <?