View Issue Details

IDProjectCategoryView StatusLast Update
0000138XdebugProfilingpublic2020-03-12 17:14
Reportermccabe Assigned To 
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.