View Issue Details

IDProjectCategoryView StatusLast Update
0002316XdebugStep Debuggingpublic2025-02-20 12:21
Reporterfbo Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version3.3.2 
Summary0002316: not stopping in a.php when included via eval(include a.php)
Description

eval(include a.php) is part of a plugin system

debugging worked perfect until switched from php 8.1 / xdebug 3.1.2
to php >= 8.2 / xdebug 3.3.2

now debugger does not stop in a.php

it stops of course when a.php included directly
but not with eval construct

Steps To Reproduce

set breakpoint in in a.php and b.php
run index.php
debugger does not stop in a.php

TagsNo tags attached.
Operating Systemosx
PHP Version8.2.20-8.2.29

Activities

fbo

2025-01-28 10:40

reporter   ~0007166

corrected a.php

fbo

2025-01-28 12:17

reporter   ~0007167

Log output for php 8.2.6 and 8.1.31

derick

2025-02-18 11:49

administrator   ~0007179

My wonder is, whether this is a difference between PHP 8.1 and PHP 8.2, or rather between Xdebug 3.1 and 3.2. I am going to guess it is due to a change in PHP, but will have to dive into this more.

If you could test, that'd be useful.

fbo

2025-02-18 12:45

reporter   ~0007181

?
php 8.1 + xdebug 3.1
php 8.1 + xdebug 3.2

php 8.2 + xdebug 3.1
php 8.2 + xdebug 3.2

Like this ?

fbo

2025-02-20 12:21

reporter   ~0007185

php 8.1 + xdebug 3.1 ok
php 8.1 + xdebug 3.2 ok

php 8.2 + xdebug 3.1 3.1 not available for 8.2
php 8.2 + xdebug 3.2 not stopping