note 110246 deleted from debugger by danbrown
| From: | danbrown@php.net | Date: | Thu, 06 Dec 2012 15:01:07 +0000 |
| Subject: | note 110246 deleted from debugger by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192356@lists.php.net to get a copy of this message | ||
Note Submitter: john_schlick at hotmail dot com
----
While it's not a full debugger, the sourceforge debugobject project does allow for very clean
"instrumenting" of code for debugging and maintenance purposes.
It can be found here: sourceforge.net/projects/debugobject/
Basically,
you include the debug_object.php in your codebase
you leave lines of debug code in your project,
and then you can turn on a given scope of debugging (routine, class, namespace, file, multiple
routines, etc), and specify what level of debug output you want, and you will get JUST that output.
I've found it to be very simple to use, and very useful, and it includes a great structured
output routine for dumping output either to the error_log or to the screen that I also use outside
of permanent debugging code.