View Issue Details

IDProjectCategoryView StatusLast Update
0002077XdebugTracingpublic2022-03-28 17:12
Reportermatt Assigned Toderick  
PrioritynormalSeverityfeatureReproducibilityalways
Status acknowledgedResolutionopen 
Product Version3.1.2 
Summary0002077: Bring back xdebug.collect_params
Description

I use trace dumps mostly to:

  • generate stack traces, collapse them, generate performance flame graphs,
  • debugging,
  • research & discovery tool of how new code works.

While having xdebug.collect_params always on is sometimes useful, most of the time parameters are not necessary for my use. Parameters make the trace files much bigger and when greping them they clutter output. Parsing of the trace files might also require more memory and might be slower. Could you consider bringing back xdebug.collect_params setting?

I'm open to paying for implementation of this feature.

Tagstrace
Operating System
PHP Version7.4.20-7.4.29

Activities

derick

2022-03-28 17:12

administrator   ~0006258

Hi!

I'm a little reluctant adding INI settings again, as I tried so hard getting rid of them. Would adding a new flag to xdebug_start_trace perhaps be an acceptable alternative? I realise that that means you need to call a function at your entry point.

cheers,
Derick

Issue History

Date Modified Username Field Change
2022-03-18 08:27 matt New Issue
2022-03-18 08:27 matt Tag Attached: trace
2022-03-28 17:12 derick Assigned To => derick
2022-03-28 17:12 derick Status new => acknowledged
2022-03-28 17:12 derick Note Added: 0006258