[xdebug-dev] Bug 0000138: Possibility to get profiler output name through DBGp protocol

From: <xdebug-dev[@]lists.xdebug.org>
Date: Sun, 31 Jul 2005 17:05:09 +0200

The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000138
======================================================================
Reporter: mccabe
Handler:
======================================================================
Project: Xdebug
Bug ID: 138
Category: Feature/Change request
Reproducibility: always
Severity: trivial
Priority: normal
Status: new
Operating System:
PHP Version: 4.3.10
Xdebug Version: 2.0-dev
======================================================================
Date Submitted: 2005-07-31 17:05 CEST
Last Modified: 2005-07-31 17:05 CEST
======================================================================
Summary: Possibility to get profiler output name through DBGp protocol
Description:
I'd like to see a 'feature_get' (or something else suitable) for the
profiler output name.

If've tested to add the following code snippet to DBGP_FUNC(feature_get)
and it works, but only after profiling is initialized (obviously), which
means not during the 'starting' state (it seems)

                XDEBUG_STR_CASE("profiler_filename")
                        if(XG(profile_filename))
                           xdebug_xml_add_text(*retval, xdstrdup(XG(profile_filename)));
                        else
                           xdebug_xml_add_text(*retval, xdstrdup(""));
                XDEBUG_STR_CASE_END

Any chance of getting something like this implemented?

======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2005-07-31 17:05mccabe New Bug
2005-07-31 17:05mccabe Bug Monitored: mccabe
======================================================================
Received on Sun Jul 31 2005 - 17:05:24 BST

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