News Feed
Sections




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

Derick Rethans' Blog:
Variable tracing with Xdebug
March 25, 2009 @ 11:16:52

Derick Rethans has made a quick post about an update he's made to the XDebug function traces to add in information on variable modifications.

After I had a quick look at the feasibility of this feature I spend some time on implementing it for Xdebug's HEAD branch that is going to become Xdebug 2.1. Variable modification tracing can be enabled by setting the php.ini xdebug.collect_assignments setting to 1. Of course this can also be done in either .htaccess or by using ini_set(). This setting requires general execution tracing to be enabled as well and it's only available for human readable trace files (the default format).

He gives examples of how two example scripts would be logged to the trace file - one inside of a basic function and another showing updates to the properties on a class.

0 comments voice your opinion now!
variable trace update change xdebug trace file output


blog comments powered by Disqus

Similar Posts

PHP.net: PHP 5.4.35, 5.5.19 and 5.6.3 Released

Jan Lehnardt's Blog: CouchDb PHP Library for JSON API

Sebastian Bergmann\'s Blog: PHP 5.1 / GCC Benchmark (Update)

Community News: rPath Updates PHP, PHP-MySQL and PHP-PGSQL Packages

Secunia.com: phpMyAdmin Cross-Site Scripting Vulnerabilities


Community Events

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


php7 api conference application introduction configure podcast symfony2 language example release series library interview performance community laravel voicesoftheelephpant framework opinion

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