[xdebug-dev] Bug 0000257: wrong location of UT file

From: <noreply[@]lists.xdebug.org>
Date: Mon, 28 May 2007 18:46:37 +0200

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000257
======================================================================
Reporter: farell
Handler:
======================================================================
Project: Xdebug
Bug ID: 257
Category: Usage problems
Reproducibility: always
Severity: trivial
Priority: normal
Status: closed
Operating System: Windows XP
PHP Version: 4.4.4
Xdebug Version: 2.0.0rc3
======================================================================
Date Submitted: 2007-04-21 18:27 CEST
Last Modified: 2007-05-28 18:46 CEST
======================================================================
Summary: wrong location of UT file
Description:
After installed windows modules "php_xdebug-2.0.0rc3-4.4.1.dll" downloaded
from xdebug.org, I begun to play with profiler than trace features.

While I've no problem with profiler configuration settings with Apache
.htaccess file, I run in trouble with trace settings.

I used three cases of config thru a PHP script

1. xdebug_start_trace();
==> produce a "trace.{hash}.xt" file into c:\wamp\php4\profiler dir as
defined by .htaccess

BTW I got a hash while "xdebug.auto_trace" is set to "Off" (doc tell
opposite purpose) !

2. xdebug_start_trace(__FILE__);
==> produce a "{__FILE__}.xt" file into script dir

NOTICE no hash appended here, while dir is script location "c:\wamp\www"
and not .htaccess expected trace_output_dir

3. xdebug_start_trace("myscript");
==> produce no trace XT file (nowhere)

I got the same result with windows module PHP 5.2

regards
Laurent Laville (aka farell)
http://pear.php.net/user/farell
======================================================================

----------------------------------------------------------------------
 derick - 2007-05-28 18:46 CEST
----------------------------------------------------------------------
This is correct behavior, please refer to the documentation at
http://xdebug.org/docs/execution_trace#xdebug_start_trace

Bug History
Date Modified Username Field Change
======================================================================
2007-04-21 18:27farell New Bug
2007-04-21 18:27farell Bug Monitored: farell
2007-05-28 18:46derick Bugnote Added: 0000637
2007-05-28 18:46derick Status new => closed
======================================================================
Received on Mon May 28 2007 - 18:46:38 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST