View Issue Details

IDProjectCategoryView StatusLast Update
0002316XdebugStep Debuggingpublic2025-01-28 12:17
Reporterfbo Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
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.
Attached Files
index.php (76 bytes)   
<?php

// with breakpoint > stopping
eval("include 'a.php';");
echo ' done';
index.php (76 bytes)   
a.php (80 bytes)   
<?php

// with breakpoint > NOT stopping
echo "Hello World!";
include 'bye.php';
a.php (80 bytes)   
b.php (51 bytes)   
<?php

// with breakpoint > stopping
echo ' bye!';
b.php (51 bytes)   
Operating Systemosx
PHP Version8.2.20-8.2.29

Activities

fbo

2025-01-28 10:40

reporter   ~0007166

corrected a.php

a-2.php (78 bytes)   
<?php

// with breakpoint > NOT stopping
echo "Hello World!";
include 'b.php';
a-2.php (78 bytes)   

fbo

2025-01-28 12:17

reporter   ~0007167

Log output for php 8.2.6 and 8.1.31

____xdebug-8.1.31.log (30,824 bytes)
____xdebug-8.2.26.log (7,902 bytes)

Issue History

Date Modified Username Field Change
2025-01-28 10:33 fbo New Issue
2025-01-28 10:33 fbo File Added: index.php
2025-01-28 10:33 fbo File Added: a.php
2025-01-28 10:33 fbo File Added: b.php
2025-01-28 10:40 fbo Note Added: 0007166
2025-01-28 10:40 fbo File Added: a-2.php
2025-01-28 12:17 fbo Note Added: 0007167
2025-01-28 12:17 fbo File Added: ____xdebug-8.1.31.log
2025-01-28 12:17 fbo File Added: ____xdebug-8.2.26.log