View Issue Details

IDProjectCategoryView StatusLast Update
0002029XdebugTracingpublic2021-10-15 13:19
ReporterOtomatic Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
OSWindowsOS Version10 
Product Version3.1.0 
Fixed in Version3.1.1 
Summary0002029: incorrect and inaccurate date and time displayed in xdebug.log and trace files
Description

xDebug log and trace started on 06 october 2021 at 05h 08

--- In xdebug.log there is
[9516] Log opened at 2198-02-04 21:25:26.714827
[9516] [Step Debug] INFO: Checking remote connect back address.
....
[9516] Log closed at 2198-02-04 21:25:26.714832

--- In trace.597664876.xt there is
TRACE START [2198-02-04 21:25:26.714827]
0.0000 369800 -> {main}() E:\wamp64\www\index.php:0
0.0000 374568 -> require(E:\wamp64\scripts\config.inc.php) E:\wamp64\www\index.php:12
....
0.0000 477088 -> php_ini_scanned_files() E:\wamp64\www\index.php:423
0.0000 401480
TRACE END [2198-02-04 21:25:26.714832]

TagsNo tags attached.
Operating System
PHP Version8.0.5-8.0.9

Activities

derick

2021-10-06 14:29

administrator   ~0006083

I think I made a PR for this this morning (https://github.com/xdebug/xdebug/pull/796). Can you check with the artifacts that are included in that PR check? I think it's one of these for you:

I don't know whether you're running in NTS or TS mode... I suspect the latter, so pick the second DLL first if you're unsure.

Otomatic

2021-10-07 07:55

reporter   ~0006088

Thank you.

With Windows and Wampserver, TS versions are always used.
This version 3.1.1-dev fixes well the problem of displaying dates and times.
But it doesn't fix the Apache restart problem, so xDebug 3.1.x is unusable as is.
I attach the files: access.log, apache_error.log, xdebug.log and trace.xxxxxx.xt generated with exactly the same configuration and procedure using xDebug 3.0.4 and xDebug 3.1.1-dev.
The only line that changes between the two versions is the loading of xdebug in php.ini:
zend_extension="E:/wamp64/bin/php/php8.0.11/zend_ext/php_xdebug-3.0.4-8.0-vs16-x86_64.dll"
zend_extension="E:/wamp64/bin/php/php8.0.11/zend_ext/php_xdebug-3.1.1-dev-8.0-vs16-x86_64.dll"
with a Restart from Zero for each case.

derick

2021-10-07 17:43

administrator   ~0006092

I think I have fixed this now, please try the right DLL from the following list of Artifacts:
https://github.com/xdebug/xdebug/actions/runs/1317223628

derick

2021-10-08 12:04

administrator   ~0006100

Closing this one, as the date/times were reported to have been fixed now.