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.
PHP 的调试
Table of Contents
关于调试器
PHP 3 包含有基于网络的调试支持。
PHP 4 并没有内部调试器。但是可以使用外部调试器。» Zend IDE 就是其中之一,它包含一个调试器。也有一些免费的调试器,比如在 » http://dd.cron.ru/dbg/ 上的 DBG,» Advanced PHP Debugger(APD)或者 » Xdebug,它甚至有一个在本节中说明的和 PHP 3 的调试功能兼容的调试界面。
PHP 的调试
Juan Rivera
23-Mar-2008 02:08
23-Mar-2008 02:08
ricardo at sismeiro dot com
05-Oct-2007 05:35
05-Oct-2007 05: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
16-Mar-2006 07:41
16-Mar-2006 07: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 11:09
07-Feb-2003 11: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
18-Dec-2002 04:15
18-Dec-2002 04: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 02: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).
