PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Opciones de configuración> <Reporte de Errores
Last updated: Fri, 22 Aug 2008

view this page in

Depuración en PHP

Sobre la depuración en PHP

PHP no cuenta con una herramienta de depuración interna. Aun así, puede usar uno de los depuradores externos. El » entorno integrado de desarrollo Zend incluye un depurador, y existen también algunas extensiones de depuración gratuitas como DBG en » http://dd.cron.ru/dbg/, el » Depurador Avanzado de PHP (APD, por sus siglas en Inglés) o » Xdebug.



Opciones de configuración> <Reporte de Errores
Last updated: Fri, 22 Aug 2008
 
add a note add a note User Contributed Notes
Depuración en PHP
Juan Rivera
22-Mar-2008 12:08
Here is another PHP IDE that supports both DBG and XDebug:

http://www.jcxsoftware.com/vs.php

You can also debug JavaScript and Php within the same debugger session.
ricardo at sismeiro dot com
04-Oct-2007 03:35
class_blackbox.php

http://sismeiro.com/php/class_blackbox.phps

index.php

<?php
 
 
require_once('class_blackbox.php');
 
 
$debugger=new blackbox();
 
 
$t=1;
 
$z=11/$c;
 
 
$ff='asd';
 
 
$d=(33*$z)+$x;
 
  echo
"<pre>";

 
print_r($debugger->data);
 
?>
online _ use _ only == hotmail.com
15-Mar-2006 04:41
I still find that printing out variable values at problem points in the code is one of the easiest ways for me to debug.  If you're interested in knowing the full contents of an object/array/scalar, then use

var_dump($var).
tulpe at atomar dot de
07-Feb-2003 08:09
Tired of manualy printing out your variables and arrays for debugging?

Take a look at my debuglib at:

http://www.atomar.de/public/code/debuglib/debuglib.demo.php

Happy debugging!

Thomas Schler
joe_fitchnospam at hotmail dot com
17-Dec-2002 01:15
I've tried many debuggers and PHP IDEs including Zend IDE, Komodo, PHPEdit, PHPEd and Maguma Studio.
 After all I'm sure that the best one debugger is dbg. It supports breakpoints even conditional ones,  all kind of steps throu php code, watch etc, so it's a fully functional debugger indeed and profiler too. Fortunately, it's an open-source product as PHP itself. Unfortunately, it does not contain any front-end, but 3rd party PHP IDEs. Seems, as for an IDE the best one is PHPEd 3.1 (http://www.phped.com), former PHP IDE from Ergin Soysal.
I was also deeply impressed with IonCube accelerator performance (http://www.ioncube.com). Commercial version of IONCUBE is many times faster than the commercial one from Zend (www.zend.com). Huh ?
Hope this info would help someone to find the better way faster.
23-Aug-2002 12:51
check out this great, cross-platform, my favourite php debugger:
 http://www.activestate.com/Products/Komodo/

it not only allows "debugging PHP programs locally or remotely, including debugging in CGI or other Web Server API environments", but, besides, is a full fledged Perl, PHP, Python, Tcl, and XSLT IDE. based on mozilla.

current version 1.2.9 costs some money ($29.50 non commercial), previous version 1.1 is free (non commercial).

Opciones de configuración> <Reporte de Errores
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites