View Issue Details

IDProjectCategoryView StatusLast Update
0002386XdebugStep Debuggingpublic2025-12-04 14:51
Reporterderick Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version3.5.0alpha3 
Target Version3.5devFixed in Version3.5.0 
Summary0002386: Crashes when running context_get in an exception thrown from an internal function
Description

When running the following code:

<?php
date('Y-m-d', new DateTimeImmutable('now'));

And the following commands:

    "breakpoint_set -t exception -x *",
    'run',
    "context_get",
    'detach',

Xdebug crashes because it doesn't check before attach_context_vars to see if it's an internal function.

TagsNo tags attached.
Operating System
PHP Version8.4.10-8.4.19

Activities