[xdebug-general] Re: confused by multiple trace files

From: George Jempty <george[@]vitrue.com>
Date: Mon, 3 Sep 2007 15:49:17 -0400

I haven't completely figured this out but the third file anyway
seemed to be the result of having Symfony debugging enabled. But I
still get two files, as though xdebug_start_trace is being called a
second time, and when it can't write to the file it expects based on
naming conventions, it appends the file name?! I'm no C expert but
maybe I can figure out if the above assumption is correct. Anyway,
sounds like it's an application issue, not an xdebug issue. Sorry
for any confusion.

George Jempty

On Sep 3, 2007, at 10:14 AM, George Jempty wrote:

> First off, I'm pretty sure this pertains to version 2.0.0, I
> compiled/installed this via PECL just a couple of weeks ago
> (definitely mid-August or later)
>
> In any event, I'm confused by the multiple trace files that are
> generated. When I specify computer-readable format, I get 3, when
> I specify human-readable, I get 2.
>
> As far as I can tell, the difference inherent in the extra trace
> file being generated in computer-readable format, is that it seems
> to indicate the time that the various functions took to run,
> *including* any inherent overhead due to xdebug tracing itself.
>
> If I am correct in the above, I am however still interested in
> knowing what the difference between the other 2 files is. The
> difference in time of execution is negligible compared to the third
> computer-readable format but there is a time difference nevertheless.
>
> Am attaching tails of the various files demonstrating the (time)
> differences, hope they don't come out overly garbled ;) Thanks in
> advance!
>
> George Jempty
>
> Computer Readable:
>
> ==> trace.2043925204.02703b.xt <==
> 3 6080 1 0.887659 10327780
> 3 6081 0 0.887991 10327780 sfCreoleDatabase->shutdown 1 /opt/
> example_com/dev/src/framework/symfony/lib/database/
> sfDatabaseManager.class.php 76
> 3 6081 1 0.888015 10327780
> 2 6075 1 0.888027 10327780
> 2 6082 0 0.888040 10327780 sfConfig::get 1 /opt/example_com/dev/
> src/framework/symfony/lib/util/sfContext.class.php 326
> 2 6082 1 0.888061 10327780
> 1 6029 1 0.888075 10327092
> 0.8985 74476
> TRACE END [2007-09-03 13:59:57]
>
>
> ==> trace.2043925204.0bbe0c.xt <==
> 3 6080 1 0.976913 10328032
> 3 6081 0 0.976929 10328032 sfCreoleDatabase->shutdown 1 /opt/
> example_com/dev/src/framework/symfony/lib/database/
> sfDatabaseManager.class.php 76
> 3 6081 1 0.976954 10328032
> 2 6075 1 0.976970 10328032
> 2 6082 0 0.976985 10328032 sfConfig::get 1 /opt/example_com/dev/
> src/framework/symfony/lib/util/sfContext.class.php 326
> 2 6082 1 0.977012 10328032
> 1 6029 1 0.977029 10327344
> 0.9887 74464
> TRACE END [2007-09-03 13:59:57]
>
>
> ==> trace.2043925204.xt <==
> 3 345449 1 15.774359 29486272
> 3 345450 0 15.774373 29486228 sfCreoleDatabase->shutdown 1 /opt/
> example_com/dev/src/framework/symfony/lib/database/
> sfDatabaseManager.class.php 76
> 3 345450 1 15.774393 29486228
> 2 345444 1 15.774405 29486052
> 2 345451 0 15.774418 29485956 sfConfig::get 1 /opt/example_com/dev/
> src/framework/symfony/lib/util/sfContext.class.php 326
> 2 345451 1 15.774439 29485956
> 1 345398 1 15.774452 29485268
> 15.8118 74468
> TRACE END [2007-09-03 13:59:58]
>
>
> Human Readable:
>
> ==> trace.2043925204.065a87.xt <==
> 0.6828 10328424 +128 -> sfCreoleDatabase->shutdown
> () /opt/example_com/dev/src/framework/symfony/lib/database/
> sfDatabaseManager.class.php:76
> 0.6828 10328552 +128 -> sfCreoleDatabase->shutdown
> () /opt/example_com/dev/src/framework/symfony/lib/database/
> sfDatabaseManager.class.php:76
> 0.6829 10328552 +0 -> MySQLConnection->close() /
> opt/example_com/dev/src/framework/symfony/lib/addon/creole/database/
> sfCreoleDatabase.class.php:209
> 0.6829 10328552 +0 -> mysql_close() /opt/
> example_com/dev/src/framework/symfony/lib/vendor/creole/drivers/
> mysql/MySQLConnection.php:172
> 0.6830 10328552 +0 -> sfCreoleDatabase->shutdown
> () /opt/example_com/dev/src/framework/symfony/lib/database/
> sfDatabaseManager.class.php:76
> 0.6830 10328552 +0 -> sfCreoleDatabase->shutdown
> () /opt/example_com/dev/src/framework/symfony/lib/database/
> sfDatabaseManager.class.php:76
> 0.6830 10328552 +0 -> sfConfig::get() /opt/
> example_com/dev/src/framework/symfony/lib/util/sfContext.class.php:326
> 0.6934 74488
> TRACE END [2007-09-03 13:39:45]
>
>
> ==> trace.2043925204.xt <==
> 0.7898 10328756 +128 -> sfCreoleDatabase->shutdown
> () /opt/example_com/dev/src/framework/symfony/lib/database/
> sfDatabaseManager.class.php:76
> 0.7899 10328884 +128 -> sfCreoleDatabase->shutdown
> () /opt/example_com/dev/src/framework/symfony/lib/database/
> sfDatabaseManager.class.php:76
> 0.7899 10328884 +0 -> MySQLConnection->close() /
> opt/example_com/dev/src/framework/symfony/lib/addon/creole/database/
> sfCreoleDatabase.class.php:209
> 0.7899 10328884 +0 -> mysql_close() /opt/
> example_com/dev/src/framework/symfony/lib/vendor/creole/drivers/
> mysql/MySQLConnection.php:172
> 0.7900 10328884 +0 -> sfCreoleDatabase->shutdown
> () /opt/example_com/dev/src/framework/symfony/lib/database/
> sfDatabaseManager.class.php:76
> 0.7900 10328884 +0 -> sfCreoleDatabase->shutdown
> () /opt/example_com/dev/src/framework/symfony/lib/database/
> sfDatabaseManager.class.php:76
> 0.7900 10328884 +0 -> sfConfig::get() /opt/
> example_com/dev/src/framework/symfony/lib/util/sfContext.class.php:326
> 0.8120 74464
> TRACE END [2007-09-03 13:39:45]
>
>
>
>
>
Received on Mon Sep 03 2007 - 21:49:28 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST