View Issue Details

IDProjectCategoryView StatusLast Update
0000138XdebugProfilingpublic2020-03-12 17:14
Reportermccabe Assigned Toderick  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionopen 
Summary0000138: 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?

TagsNo tags attached.
Operating System
PHP Version5.1.0-dev

Activities

derick

2005-12-30 17:11

administrator   ~0000325

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

administrator   ~0000538

This is now implemented as the command "xcmd_profiler_name_get". When this turns into an official function, the name might change.

Issue History

Date Modified Username Field Change
2005-07-31 16:05 mccabe New Issue
2005-12-30 17:11 derick PHP Version 4.3.10 => 5.1.0-dev
2005-12-30 17:11 derick Xdebug Version 2.0-dev => 2.0.0beta5-dev
2005-12-30 17:11 derick Note Added: 0000325
2005-12-30 17:11 derick Assigned To => derick
2005-12-30 17:11 derick Status new => assigned
2007-01-02 23:15 derick Status assigned => closed
2007-01-02 23:15 derick Note Added: 0000538
2020-03-12 16:56 derick Severity trivial => feature
2020-03-12 17:14 derick Category Feature/Change request => Profiling