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

From: <xdebug-dev[@]lists.xdebug.org>
Date: Fri, 30 Dec 2005 17:11:23 +0100

A BUGNOTE has been added to this bug.
======================================================================
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: 5.1.0-dev
Xdebug Version: 2.0.0beta5-dev
======================================================================
Date Submitted: 2005-07-31 17:05 CEST
Last Modified: 2005-12-30 17:11 CET
======================================================================
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?

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

----------------------------------------------------------------------
 derick - 2005-12-30 17:11 CET
----------------------------------------------------------------------
The idea is to enhance the whole protocol to retrieve full profiler
information - but that will have to wait for Xdebug 2.1 atleast.

Bug History
Date Modified Username Field Change
======================================================================
2005-07-31 17:05mccabe New Bug
2005-07-31 17:05mccabe Bug Monitored: mccabe
2005-12-30 17:11derick Bugnote Added: 0000325
2005-12-30 17:11derick PHP Version 4.3.10 => 5.1.0-dev
2005-12-30 17:11derick Xdebug Version 2.0-dev => 2.0.0beta5-dev
======================================================================
Received on Fri Dec 30 2005 - 17:11:27 GMT

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