Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

Приложение E. Отладка PHP

Об отладчике

PHP 3 имеет поддержку сетевого отладчика.

PHP 4 не имеет встроенной системы отладки. Тем не менее, вы можете использовать внешние отладчики. Zend IDE имеет встроенный отладчик, кроме того, существует несколько свободно распространяемых расширений для отладки, например, DBG, находящееся по адресу http://dd.cron.ru/dbg/ или Advanced PHP Debugger (APD).



add a note add a note User Contributed Notes
Отладка PHP
ricardo at sismeiro dot com
04-Oct-2007 02: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);
 
?>
seaside
26-Dec-2006 05:02
Meanwhile, a Windows binary is available too:

  http://www.turingart.com/downloads/phpDebuggerWin.zip
software at turingart dot com
10-Dec-2006 12:06
I've started creating an external debug server for PHP. A PHP app require_once's a TADebugger(), which communicates with the debug sever. Find the OS X universal binary here [PHP source sample included]:

    http://www.turingart.com/downloads/phpDebugger.zip

Currently, TADebugger allows to post these properties back to the debug server:

- Call backtraces
- String messages
- Source files, which were referenced by a backtrace call

Note, that the binary is a early version.
13-Sep-2006 08:51
NuSphere Php IDE PhpED (www.nusphere.com) includes dbg from dd.kron.ru actually
online _ use _ only == hotmail.com
15-Mar-2006 03: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).
linus at mccabe dot nu
24-May-2004 01:04
Another free (GPL) debugger is Gubed, http://gubed.sf.net .
Currently available for Linux, but also Windows soon.
tulpe at atomar dot de
07-Feb-2003 07: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 Sch
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com
Z058440144362 Z348613067571