News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
J. Scott Johnson's Blog:
Your PHP Command of the Day - debug_backtrace()
April 12, 2006 @ 06:57:04

J. Scott Johnson shares, in this new blog post, about a handy little function that any PHP developer out there would do well to remember when it comes to debugging their code - debug_backtrace.

When you're massively and rapidly refactoring a code base, mere hours before a demo* and you utterly and completely hose yourself then just plain trot out debug_backtrace() and whammo! Your debugging problems go away!

This function generates a backtrace from the function it's inside, making it easy to tracke backwards the path that the data's taking to get to that location. Very handy for tracking down which functionality it is that's causing the issues...

0 comments voice your opinion now!
php command day debug_backtrace generate backtrace php command day debug_backtrace generate backtrace



Similar Posts

Andi Gutmans\' Blog: PHP coming to i5/OS

Christian Stocker\'s Blog: PHP is (most presumably) getting namespaces

IBM developerWorks: Paint 3-D images with PHP

Marco Tabini\'s Blog: Community etiquette we could really use

Zend Developer Zone: Dynamically Generating PDF Files with PHP and Haru


Community Events









Don't see your event here?
Let us know!


framework release code zendframework developer PHP5 book releases database package example job ajax cakephp mysql conference PEAR security zend application

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework