View Issue Details

IDProjectCategoryView StatusLast Update
0002206XdebugStep Debuggingpublic2023-11-30 14:50
Reporterderick Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product Version3.3dev 
Target Version3.3devFixed in Version3.3.0 
Summary0002206: Optimise debugger breakpoints checking
Description

When the step debugger is active it always instructs the framework to collect information about local variables (ie. compiled variables). This adds unnecessary overhead.

Secondly, Xdebug checks too often for breakpoints:

  • for function breakpoints, even if there are none it will do work to build a string representation of the name
  • for line breakpoints, at every statement against all line breakpoints, even if we already can establish that a function does not have any line breakpoints.

Add optimisations to address all these three issues.

TagsNo tags attached.
Operating System
PHP Version8.2.0-8.2.9

Activities