News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Tracking a Stack of Function Calls with the Xdebug Extension
March 16, 2009 @ 13:14:19

On DevShed today the latest article in their XDebug series has been posted, a look at tracking the function call stack with help from functionality the extension provides.

Despite this inconvenience [pf not being able to get more in-depth], in this final part of the series, I'm going to show you how to work with a function of the library called "xdebug_get_function_stack()." This function can be used to keep track of the stack of function calls generated by a PHP script, in this manner completing this starting guide on this helpful extension.

After reviewing the script from the previous part (using xdebug_time_index) they get into this new function and what sort of output it provides. The stack is the trace of what functions and values were passed around in the script including information like the function name, parameters and the file it was in.

0 comments voice your opinion now!
track stack function trace xdebug extension tutorial


blog comments powered by Disqus

Similar Posts

PHPit.net: PHP5 Class Basics, Part 1

DZone.com: All the ways to perform HTTP requests in PHP

Greg Beaver's Blog: behold pecl/phar and mighty PHP 5.3, also php|arch and php|tek

Chris Hartjes' Blog: Fun with custom Zend_Views

Icemelon.com: Dynamic Images in PHP (with GD)


Community Events

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


example composer interview part2 php7 series list programming project introduction symfony framework language laravel podcast opinion api yii2 application community

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