View Issue Details

IDProjectCategoryView StatusLast Update
0002367XdebugStep Debuggingpublic2025-10-06 10:50
Reporterderick Assigned Toderick  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Target Version3.5devFixed in Version3.5.0alpha2 
Summary0002367: Debugger should not break on return out of include files when return value debugger is enabled
Description

When stepping (next) the debugger will stop at the implicit return at the end of each (included) file too. We should skip that.

This is quite common for including class files, which (besides) the class will generate an op_array, that consists of three opcodes: NOP, EXT_STMT, and RETURN.

If more than one class is loaded, or when classes include static members, then there will be more NOPs. Both cases should be handled.

TagsNo tags attached.
Operating System
PHP Version8.3.5-8.3.9

Activities

Issue History

Date Modified Username Field Change
2025-09-19 09:30 derick New Issue
2025-10-06 09:12 derick Note Added: 0007355
2025-10-06 09:36 derick Assigned To => derick
2025-10-06 09:36 derick Status new => closed
2025-10-06 09:36 derick Resolution open => fixed
2025-10-06 09:36 derick Fixed in Version => 3.5dev
2025-10-06 10:50 derick Fixed in Version 3.5dev => 3.5.0alpha2