View Issue Details

IDProjectCategoryView StatusLast Update
0002326XdebugStep Debuggingpublic2025-03-05 08:19
Reporterkroligoff Assigned Toderick  
PriorityhighSeveritycrashReproducibilityalways
Status confirmedResolutionopen 
Product Version3.4.1 
Summary0002326: Step Debugging Process finished
Description

Step Debugging process stop after call function with global variabe, im not understand this bug Xdebug or PHP 8.4 (XMLReader have stack leak)

i think problem if uses global variable (global $reader;) in inside function
and open any xml file use $err = $reader->open($fname);
if use local variable work perfect and not have this issue.

Steps To Reproduce
  1. Set breakpoint on $err = ReloadXmlFile("order.xml");
    • need open exist any xml file in function
  2. Make "Step over" (F8)
  3. On line "if (!$err)" try make "Step over" again (F8)
  4. Process stopped and not run next line
    Process finished with exit code 0
Additional Information

php -v
PHP 8.4.4 (cli) (built: Feb 11 2025 16:25:02) (ZTS Visual C++ 2022 x64)
Copyright (c) The PHP Group
Zend Engine v4.4.4, Copyright (c) Zend Technologies
with Xdebug v3.4.1, Copyright (c) 2002-2025, by Derick Rethans

TagsNo tags attached.
Operating System*
PHP Version8.4-dev

Activities

kroligoff

2025-03-05 01:39

reporter   ~0007188

log

xdebug.log (82,297 bytes)

kroligoff

2025-03-05 01:44

reporter   ~0007190

sorry not select: windows 11 os

derick

2025-03-05 08:19

administrator   ~0007191

I can reproduce this with your accurate and short test case, thanks for providing that.

Issue History

Date Modified Username Field Change
2025-03-05 01:38 kroligoff New Issue
2025-03-05 01:39 kroligoff Note Added: 0007188
2025-03-05 01:39 kroligoff File Added: xdebug.log
2025-03-05 01:44 kroligoff Note Added: 0007190
2025-03-05 08:19 derick Assigned To => derick
2025-03-05 08:19 derick Status new => confirmed
2025-03-05 08:19 derick Note Added: 0007191
2025-03-05 08:19 derick Operating System => *