View Issue Details

IDProjectCategoryView StatusLast Update
0001472XdebugTracingpublic2021-10-04 09:32
Reporteryangrokety Assigned Toderick  
PrioritylowSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
PlatformLinuxOSubuntu 17.04 
Product Version2.5.5 
Target Version3.1devFixed in Version3.1.0 
Summary0001472: Add assignments to computer readable trace format
Description

Can computer readable format output contain "xdebug.collect_assignments"?

Tagseasy-pick
Operating System
PHP Version5.6.30-5.6.35

Activities

yangrokety

2017-09-22 13:42

reporter   ~0004423

Last edited: 2017-09-22 13:48

Hi, derick.
I try to implement xdebug_trace_computerized_assignment, and the trace result:
Version: 2.5.5
File format: 4
TRACE START [2017-09-22 13:28:43]
1000.000141____259968{main}1____/home/rokety/t.php__00
1____
2_____{main}_1/home/rokety/t.php__6$fo='test'
2
100.000194____260248foo1____/home/rokety/t.php__70
2____
2___foo_1_____/home/rokety/t.php__3_$bar_=_1
2110.000230____260480
2
1R____NULL
1010.000254____260480
1
0R____1
____0.000416____8504
TRACE END [2017-09-22 13:28:43]

The third column value '2' means assignment.

I see you assign this feature request to 2.7.0dev. I hope this feature can be contain in 2.5.6 release.

If ok, I can make a pull request to 2.5 branch:-)

derick

2017-09-23 08:46

administrator   ~0004424

Hi,

I'm happy to work with you on a patch on this. But new features can not go into bug fix release branches (2.5). At the minimum this should go to 2.6 (current master). There is a guide on adding feature available on https://xdebug.org/contributing.php

cheers,
Derick

yangrokety

2017-09-23 10:58

reporter   ~0004425

Last edited: 2017-09-23 11:42

Hi, derick.
I found the current master has limit to php version > 7 by this commit:
https://github.com/xdebug/xdebug/commit/9bda2b3fc0ea833eed8b9526655170769d0eeb60#diff-788d457a20b110cc38e571dec9ddc68c

And the configure error:
checking Check for supported PHP versions... configure: error: not supported. Need a PHP version >= 7.0.0 and < 7.3.0 (found 5.6.31)

Does 2.6 not support php5? :-(

derick

2017-09-24 19:32

administrator   ~0004426

No, PHP 5 support is dropped in Xdebug 2.6 and later. PHP 5 itself is no longer supported by PHP either: http://php.net/supported-versions.php

derick

2019-08-05 19:21

administrator   ~0005109

There is also a Pull Request: https://github.com/xdebug/xdebug/pull/365/files

derick

2021-05-07 00:05

administrator   ~0005873

https://github.com/xdebug/xdebug/commit/927a3ffb2990df6090d156c3442f66a75e1c26c2

Issue History

Date Modified Username Field Change
2017-09-16 04:24 yangrokety New Issue
2017-09-20 22:06 derick Target Version => 2.7.0dev
2017-09-20 22:06 derick Assigned To => derick
2017-09-20 22:06 derick Status new => acknowledged
2017-09-22 13:42 yangrokety Note Added: 0004423
2017-09-22 13:44 yangrokety Note Edited: 0004423
2017-09-22 13:44 yangrokety Note Edited: 0004423
2017-09-22 13:45 yangrokety Note Edited: 0004423
2017-09-22 13:45 yangrokety Note Edited: 0004423
2017-09-22 13:47 yangrokety Note Edited: 0004423
2017-09-22 13:47 yangrokety Note Edited: 0004423
2017-09-22 13:48 yangrokety Note Edited: 0004423
2017-09-23 08:46 derick Note Added: 0004424
2017-09-23 10:58 yangrokety Note Added: 0004425
2017-09-23 11:42 yangrokety Note Edited: 0004425
2017-09-24 19:32 derick Note Added: 0004426
2019-01-22 21:55 derick Target Version 2.7.0dev =>
2019-08-05 19:21 derick Target Version => 3.0dev
2019-08-05 19:21 derick Note Added: 0005109
2020-03-12 16:49 derick Category Feature/Change request => Tracing
2020-09-23 17:01 derick Target Version 3.0dev =>
2020-09-23 17:01 derick Summary xdebug.trace_format: computer readable format => Add assignments to computer readable trace format
2021-03-17 08:42 derick Priority high => low
2021-03-17 08:42 derick Target Version => 3.1dev
2021-03-17 08:42 derick Tag Attached: easy-pick
2021-05-07 00:05 derick Status acknowledged => closed
2021-05-07 00:05 derick Resolution open => fixed
2021-05-07 00:05 derick Fixed in Version => 3.1dev
2021-05-07 00:05 derick Note Added: 0005873
2021-09-05 16:15 derick Fixed in Version 3.1dev => 3.1.0beta1
2021-10-04 09:32 derick Fixed in Version 3.1.0beta1 => 3.1.0