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

From: <noreply[@]lists.xdebug.org>
Date: Tue, 2 Jan 2007 23:15:59 +0100

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000138
======================================================================
Reporter: mccabe
Handler: derick
======================================================================
Project: Xdebug
Bug ID: 138
Category: Feature/Change request
Reproducibility: always
Severity: trivial
Priority: normal
Status: closed
Operating System:
PHP Version: 5.1.0-dev
Xdebug Version: 2.0.0beta4
======================================================================
Date Submitted: 2005-07-31 17:05 CEST
Last Modified: 2007-01-02 23:15 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.

----------------------------------------------------------------------
 derick - 2007-01-02 23:15 CET
----------------------------------------------------------------------
This is now implemented as the command "xcmd_profiler_name_get". When this
turns into an official function, the name might change.

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
2005-12-30 17:11derick Assigned To => derick
2005-12-30 17:11derick Status new => assigned
2007-01-02 23:15derick Bugnote Added: 0000538
2007-01-02 23:15derick Status assigned => closed
======================================================================
Received on Tue Jan 02 2007 - 23:15:59 GMT

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