[xdebug-dev] Bug 0000282: %s is not usable for xdebug.profiler_output_name

From: <noreply[@]lists.xdebug.org>
Date: Sun, 10 Jun 2007 23:21:21 +0200

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000282
======================================================================
Reporter: hickwu
Handler:
======================================================================
Project: Xdebug
Bug ID: 282
Category: Usage problems
Reproducibility: always
Severity: trivial
Priority: normal
Status: closed
Operating System: windows xp
PHP Version: 5.2.0
Xdebug Version: 2.0.0rc4
======================================================================
Date Submitted: 2007-06-09 10:04 CEST
Last Modified: 2007-06-10 23:21 CEST
======================================================================
Summary: %s is not usable for xdebug.profiler_output_name
Description:
when the setting is like "xdebug.profiler_output_name=cachegrind.out.%R", I
can see pfilling files like "cachegrind.out._index_php", but when the
setting change to "xdebug.profiler_output_name=cachegrind.out.%s", no
profilling files come out.
======================================================================

----------------------------------------------------------------------
 sniper - 2007-06-09 22:27 CEST
----------------------------------------------------------------------
%s is not available in some cases. How did you test this?

----------------------------------------------------------------------
 hickwu - 2007-06-10 05:36 CEST
----------------------------------------------------------------------
I use apache + php 5.2.0(Server API CGI/FastCGI), when my php.ini has this
line "xdebug.profiler_output_name=cachegrind.out.%R", and then I refresh a
php page, it generated a profilling file like "cachegrind.out._index_php",
when I change the %R to $s in the php.ini , and delete the file
"cachegrind.out._index_php", then refresh a php page, no file was
generated. when I roll back to %R, and refresh the page again, the
profilling file was generated again :)

----------------------------------------------------------------------
 derick - 2007-06-10 23:21 CEST
----------------------------------------------------------------------
Fixed in CVS:

- On windows the full path includes a :, which can not be part of a
filename.
  The : is now escaped as a _.

Bug History
Date Modified Username Field Change
======================================================================
2007-06-09 10:04hickwu New Bug
2007-06-09 10:04hickwu Bug Monitored: hickwu
2007-06-09 22:27sniper Bugnote Added: 0000652
2007-06-10 05:36hickwu Bugnote Added: 0000655
2007-06-10 23:21derick Bugnote Added: 0000656
2007-06-10 23:21derick Status new => closed
======================================================================
Received on Sun Jun 10 2007 - 23:21:24 BST

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