View Issue Details

IDProjectCategoryView StatusLast Update
0002165XdebugProfilingpublic2023-03-20 17:41
ReporterOtomatic Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionduplicate 
OSWindows 10 Professional 64bitOS Version22H2 
Product Version3.2.0 
Summary0002165: xdebug.profiler_output_name files created even if xdebug.mode profile is not set
Description

Settings of Xdebug in php.ini:
[xdebug]
zend_extension="E:/wamp64/bin/php/php8.2.3/zend_ext/php_xdebug-3.2.0-8.2-vs16-x86_64.dll"
;xdebug.mode allowed are : off develop coverage debug gcstats profile trace
xdebug.mode = develop
xdebug.output_dir ="E:/wamp64/tmp"
xdebug.show_local_vars=0
xdebug.log="E:/wamp64/logs/xdebug.log"
;xdebug.log_level : 0 Criticals, 1 Connection, 3 Warnings, 5 Communication, 7 Information, 10 Debug Breakpoint
xdebug.log_level=7
xdebug.profiler_output_name=trace.%H.%t.%p.cgrind
xdebug.use_compression=false

Steps To Reproduce

Launch a local site, for example 'https://aviatechno.net'
Files are created in E:/wamp64/tmp
trace.aviatechno.1678527187.4448.cgrind
trace.aviatechno.1678527190.6104.cgrind
trace.aviatechno.1678527192.6684.cgrind
trace.aviatechno.1678527193.9448.cgrind
trace.aviatechno.1678527196.7244.cgrind

TagsNo tags attached.
Operating System
PHP Version8.2.0-8.2.9

Relationships

duplicate of 0002144 closedderick Xdebug 3.2.0 ignores xdebug.mode and enables all features 

Activities

Otomatic

2023-03-11 15:38

reporter   ~0006520

Seems to be related to https://bugs.xdebug.org/view.php?id=2144

Otomatic

2023-03-20 09:09

reporter   ~0006526

  • Even if xdebug.mode = off
    [xdebug]
    zend_extension="E:/wamp64/bin/php/php8.2.4/zend_ext/php_xdebug-3.2.0-8.2-vs16-x86_64.dll"
    ;xdebug.mode allowed are : off develop coverage debug gcstats profile trace
    xdebug.mode = off
    xdebug.output_dir ="E:/wamp64/tmp"
    xdebug.show_local_vars=0
    xdebug.log="E:/wamp64/logs/xdebug.log"
    ;xdebug.log_level : 0 Criticals, 1 Connection, 3 Warnings, 5 Communication, 7 Information, 10 Debug Breakpoint
    xdebug.log_level=7
    xdebug.profiler_output_name=trace.%H.%t.%p.cgrind
    xdebug.use_compression=false

  • xdebuginfo see ALL MODES enabled

Otomatic

2023-03-20 09:09

reporter   ~0006527

xdebuginfo.jpg (554,078 bytes)

Otomatic

2023-03-20 12:16

reporter   ~0006528

There is no problem with PHP 8.1.17 and Xdebug 3.1.6

  • xdebuginfo
    Development Helpers x enabled
    Coverage x disabled
    GC Stats x disabled
    Profiler x disabled
    Step Debugger x disabled
    Tracing x disabled

Directive Local Value Master Value
xdebug.mode develop develop

derick

2023-03-20 17:41

administrator   ~0006530

I cam closing this as a duplicate of 0002144, for which I am about to create a pull request for with a fix.

Issue History

Date Modified Username Field Change
2023-03-11 10:20 Otomatic New Issue
2023-03-11 15:38 Otomatic Note Added: 0006520
2023-03-20 09:09 Otomatic Note Added: 0006526
2023-03-20 09:09 Otomatic Note Added: 0006527
2023-03-20 09:09 Otomatic File Added: xdebuginfo.jpg
2023-03-20 12:16 Otomatic Note Added: 0006528
2023-03-20 17:41 derick Assigned To => derick
2023-03-20 17:41 derick Status new => resolved
2023-03-20 17:41 derick Resolution open => duplicate
2023-03-20 17:41 derick Note Added: 0006530
2023-03-20 17:41 derick Relationship added duplicate of 0002144