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

Zumba Engineering Blog: Mocking Singleton PHP classes with PHPUnit

DevShed: Validating Web Forms with the Code Igniter PHP Framework

Procurios Blog: Fragment Cache - an introduction / PHP

DZone.com: Using a stream wrapper to access CouchDb attachments with PHP

SitePoint.com: How to Create an XML to JSON Proxy Server in PHP


Community Events

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


example api library introduction language community list interview php7 laravel video voicesoftheelephpant opinion series version release laravel5 unittest framework podcast

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