View Issue Details

IDProjectCategoryView StatusLast Update
0002042XdebugTracingpublic2021-10-29 14:21
Reporterwillg101 Assigned Toderick  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionno change required 
Summary0002042: Parsable trace format with assignments collected
DescriptionI am working on a UI for step debugging and I'd like to implement a "replay" feature. Triggering a trace immediately upon session open is working great so far, except for being able to reliably parse the human-readable trace format (which appears to be the only format that respects `xdebug.collect_assignments = 1`).

Would it be possible to add a feature or trace_format that is both parsable and can include variable assignments?
Tagsxt file format
Operating System
PHP Version7.4.20-7.4.29

Activities

derick

2021-10-29 14:21

administrator   ~0006149

This is in Xdebug 3.1 and later already, through https://github.com/xdebug/xdebug/commit/927a3ffb2990df6090d156c3442f66a75e1c26c2

However, it won't contain enough information to do replays, as there is a display limit, and the size of trace files with this information in text form is going to be massive.

In the meanwhile, I'm working on a replay feature myself, which also allows step-back.

Issue History

Date Modified Username Field Change
2021-10-29 03:58 willg101 New Issue
2021-10-29 03:58 willg101 Tag Attached: xt file format
2021-10-29 14:21 derick Assigned To => derick
2021-10-29 14:21 derick Status new => resolved
2021-10-29 14:21 derick Resolution open => no change required
2021-10-29 14:21 derick Note Added: 0006149