View Issue Details

IDProjectCategoryView StatusLast Update
0000257XdebugUncategorizedpublic2007-05-28 17:46
Reporterfarell Assigned To 
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionopen 
Summary0000257: 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) !

  1. 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

  1. 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

Additional Information

.htaccess file content :

<Files javadanse.php>
php_value xdebug.profiler_enable 0
php_value xdebug.trace_output_dir "c:\wamp\php4\profiler"
php_value xdebug.trace_output_name "timestamp"
</Files>

TagsNo tags attached.
Operating SystemWindows XP
PHP Version4.4.4

Activities

derick

2007-05-28 17:46

administrator   ~0000637

This is correct behavior, please refer to the documentation at http://xdebug.org/docs/execution_trace#xdebug_start_trace

Issue History

Date Modified Username Field Change
2007-04-21 17:27 farell New Issue
2007-05-28 17:46 derick Note Added: 0000637
2007-05-28 17:46 derick Status new => closed
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized