+ -
当前位置:首页 → 问答吧 → 我使用xdebug,生成的多个trace文件,哪个先生成,哪个后生成,怎么看

我使用xdebug,生成的多个trace文件,哪个先生成,哪个后生成,怎么看

时间:2011-09-08

来源:互联网

环境:zend studio 8.0.1,
  xdebug,
  xdebug.trace_output_name = trace.%c.%p.%R 

在浏览器输入http://127.0.0.1/index.php发现生成如下trace文件:

trace.994465049.612._index_php.xt
trace.994465049.612._index_php_m=member_c=index_a=mini_forward=http%3A%2F%2F127_0_0_1%2Findex_php_siteid=1.xt
trace.994465049.612._index_php_m=poster_c=index_a=show_poster_id=1.xt
trace.994465049.612._index_php_m=poster_c=index_a=show_siteid=1_spaceid=1_id=1.xt
trace.994465049.612._index_php_m=vote_c=index_a=show_action=js_subjectid=1_type=3.xt

我想知道请求的执行顺序,有什么办法吗? 可以通过修改xdebug.trace_output_name 或者其他,从而能够知道请求的执行顺序吗?

我猜测trace.994465049.612._index_php.xt,对应的请求应该是最先执行的,其他的几个的执行顺序就不知道了。有什么办法知道吗?

作者: onunix   发布时间: 2011-09-08

直接打开 硬盘看 文件的修改时间...
另外你去下个 WincacheGrind 来图形化看里面的数据反馈吧...当然有工具你就可以直观看到怎么调用的了.

作者: PhpNewnew   发布时间: 2011-09-08

相关阅读 更多