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

Davey Shafik's Blog: Debugging on the Command Line with xdebug

Aleksey Martynov's Blog: Getting started with lexa-tools: Blog in 15 Minutes

Chris Hartjes' Blog: Metatesting: Understanding Mock Objects

Rob Allen's Blog: More translations

Evolt.org: Working With Fractions In CSS and PHP


Community Events

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


language podcast development laravel library unittest laravel5 voicesoftheelephpant interview release introduction community conference api extension framework video series psr7 opinion

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