<?xml version="1.0" encoding="utf-8"?>
<!--RSS generated by Flaimo.com RSS Builder [2026-04-22 11:24:56]-->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><docs>https://bugs.xdebug.org/</docs><link>https://bugs.xdebug.org/</link><description><![CDATA[MantisBT - Issues]]></description><title>MantisBT - Issues</title><image><title>MantisBT - Issues</title><url>https://bugs.xdebug.org/images/mantis_logo.png</url><link>https://bugs.xdebug.org/</link><description><![CDATA[MantisBT - Issues]]></description></image><language>en</language><category>All Projects</category><ttl>10</ttl><dc:language>en</dc:language><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><item><title>0002413: Suggestion: Develop mode in terminal</title><author></author><link>https://bugs.xdebug.org/view.php?id=2413</link><description><![CDATA[Suggestion to not display html tags in develop mode in terminal use]]></description><category>Uncategorized</category><pubDate>Thu, 02 Apr 2026 13:32:04 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2413</guid><comments>https://bugs.xdebug.org/view.php?id=2413#bugnotes</comments></item><item><title>0002407: Performance issues with 3.5.1 vs 3.4</title><author></author><link>https://bugs.xdebug.org/view.php?id=2407</link><description><![CDATA[I updated my PHP and Xdebug today.&lt;br /&gt;
Some performance testing scripts i have suddenly saw issues.&lt;br /&gt;
Saw the other tickets concerning performance issues and can say 3.5.1 is better compared to 3.5.0 but not to earlier versions.&lt;br /&gt;
&lt;br /&gt;
CPU: AMD 5700G&lt;br /&gt;
All of this was done on PHP 8.3.30 since Xdebug 3.4.7 was not available for PHP 8.5.x.]]></description><category>Uncategorized</category><pubDate>Mon, 23 Mar 2026 19:13:14 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2407</guid><comments>https://bugs.xdebug.org/view.php?id=2407#bugnotes</comments></item><item><title>0002406: Tests failing on armhf with PHP 8.5</title><author></author><link>https://bugs.xdebug.org/view.php?id=2406</link><description><![CDATA[Running the upstream tests in Ubuntu, using PHP 8.5 results in a fail.&lt;br /&gt;
See logs in: &lt;a href=&quot;https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-resolute/resolute/armhf/x/xdebug/20260224_020114_37526@/log.gz&quot; rel=&quot;noopener,nofollow&quot;&gt;https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-resolute/resolute/armhf/x/xdebug/20260224_020114_37526@/log.gz&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In the logs:&lt;br /&gt;
&lt;br /&gt;
=====================================================================&lt;br /&gt;
520s FAILED TEST SUMMARY&lt;br /&gt;
520s ---------------------------------------------------------------------&lt;br /&gt;
520s Test for bug &lt;a href=&quot;https://bugs.xdebug.org/view.php?id=1343&quot;&gt;0001343&lt;/a&gt;: Wrong values of numerical keys outside 32bit range [tests/develop/bug01343-32bit.phpt]&lt;br /&gt;
520s =====================================================================&lt;br /&gt;
&lt;br /&gt;
Does not say much, but looking at other PHP 8.5 armhf failures, it may be related to a warning about not being able to cast floats outside of the 32 bit range (exactly what the test is about) to int. This warning was not there in PHP8.4, but it's always there in PHP 8.5.]]></description><category>Uncategorized</category><pubDate>Mon, 23 Mar 2026 16:02:20 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2406</guid><comments>https://bugs.xdebug.org/view.php?id=2406#bugnotes</comments></item><item><title>0002402: Error in xdebug 3.5 with PHP 8.5 when executing code with the pipe operator</title><author></author><link>https://bugs.xdebug.org/view.php?id=2402</link><description><![CDATA[When trying to execute code with the new piper operator, PHP is unable to return the output and reports the error: zend_mn_heap_corrupted (this in the CLI, in the browser it reports error 500)&lt;br /&gt;
&lt;br /&gt;
By disabling xdebug in php.ini, PHP can correctly interpret the code snippets containing the pipe operator.&lt;br /&gt;
Initially I thought it was the Xdebug version, I changed it to the latest version, which is 3.5, and PHP to 8.5.1 and not even with that (I noticed that Xdebug only supports version 8.5.0).&lt;br /&gt;
&lt;br /&gt;
And when writing other codes, PHP with Xdebug enabled runs normally.]]></description><category>Tracing</category><pubDate>Mon, 23 Mar 2026 15:59:06 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2402</guid><comments>https://bugs.xdebug.org/view.php?id=2402#bugnotes</comments></item><item><title>0002394: Can't create control Named Pipe</title><author></author><link>https://bugs.xdebug.org/view.php?id=2394</link><description><![CDATA[I'm always getting:&lt;br /&gt;
&lt;br /&gt;
[25784] Log opened at 2025-12-31 14:45:05.172564&lt;br /&gt;
[25784] [Config] WARN: Can't create control Named Pipe (0x0)&lt;br /&gt;
[25784] Log closed at 2025-12-31 14:45:05.173333&lt;br /&gt;
&lt;br /&gt;
As such, no stop by Xdebug at breakpoint.]]></description><category>Step Debugging</category><pubDate>Mon, 23 Mar 2026 15:36:12 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2394</guid><comments>https://bugs.xdebug.org/view.php?id=2394#bugnotes</comments></item><item><title>0002396: xdebug eval can't define anonymous functions</title><author></author><link>https://bugs.xdebug.org/view.php?id=2396</link><description><![CDATA[it used to be able to do this. It was an invaluable convenience to our whole company for testing our code.]]></description><category>Uncategorized</category><pubDate>Mon, 23 Mar 2026 15:34:26 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2396</guid><comments>https://bugs.xdebug.org/view.php?id=2396#bugnotes</comments></item><item><title>0002412: No warning shown before logging out while writing a post.</title><author></author><link>https://bugs.xdebug.org/view.php?id=2412</link><description><![CDATA[If a user is writing a post and accidentally clicks logout, the system logs out immediately without any confirmation. This results in loss of typed content.]]></description><category>Uncategorized</category><pubDate>Sat, 21 Mar 2026 18:36:42 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2412</guid><comments>https://bugs.xdebug.org/view.php?id=2412#bugnotes</comments></item><item><title>0002391: Code Coverage times out on random tests</title><author></author><link>https://bugs.xdebug.org/view.php?id=2391</link><description><![CDATA[We accidentally installed 3.50-dev and then our code coverage started failing. I listed as always reproducible because if we run our entire test suite, it happens every time. However, the particular test that times out varies. &lt;br /&gt;
&lt;br /&gt;
Step 3/3: PHPUnit (Command Line)&lt;br /&gt;
19:24:05   Starting: D:\TeamCityBuildAgent\temp\agentTmp\custom_script1165008140808374324.cmd&lt;br /&gt;
19:24:05   in directory: D:\TeamCityBuildAgent\work\9e132eb6cf93e5a8&lt;br /&gt;
19:26:58   PHPUnit 12.4.1 by Sebastian Bergmann and contributors.&lt;br /&gt;
19:26:58   &lt;br /&gt;
19:26:58   Runtime:       PHP 8.4.14 with Xdebug 3.5.0-dev&lt;br /&gt;
19:26:58   Configuration: D:\TeamCityBuildAgent\work\9e132eb6cf93e5a8\phpunit\phpunit-coverage.xml&lt;br /&gt;
19:26:58   &lt;br /&gt;
19:27:03   D:\TeamCityBuildAgent\work\9e132eb6cf93e5a8\phpunit\phpunit-coverage.xml&lt;br /&gt;
19:29:37   &lt;br /&gt;
19:29:37   Fatal error: Maximum execution time of 120 seconds exceeded in D:\TeamCityBuildAgent\work\9e132eb6cf93e5a8\vendor\phpmailer\phpmailer\src\PHPMailer.php on line 895&lt;br /&gt;
19:29:37   Maximum execution time of 120 seconds exceeded&lt;div style=&quot;background-color:#e8e8e8;height: 20px;&quot;&gt;&nbsp;&lt;/div&gt;&lt;table id=&quot;trace&quot;&gt;&lt;br /&gt;
19:29:37   &lt;tr&gt;&lt;td&gt;#&lt;/td&gt;&lt;td&gt;File:Line&lt;/td&gt;&lt;td&gt;Function&lt;/td&gt;&lt;/td&gt;&lt;br /&gt;
19:29:37   &lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;classes\ErrorHandling::errorHandlerShutdown::&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;
19:29:37   &lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;D:\TeamCityBuildAgent\work\9e132eb6cf93e5a8\vendor\phpmailer\phpmailer\src\PHPMailer.php:895&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;
19:29:37   &lt;/table&gt;&lt;div style=&quot;background-color:#e8e8e8;height: 20px;&quot;&gt;&nbsp;&lt;/div&gt;&lt;table id=&quot;arguments&quot;&gt;&lt;br /&gt;
19:29:37   &lt;tr&gt;&lt;td&gt;#&lt;/td&gt;&lt;td&gt;Arguments&lt;/td&gt;&lt;/td&gt;&lt;br /&gt;
19:29:37   &lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;
19:29:37   &lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;
19:29:37   &lt;/table&gt;Fatal error: Premature end of PHP process when running classes\Controllers\ETL_StatusTest::test_updateETLsToRunNow_AllStaging.&lt;br /&gt;
19:29:37   Process exited with code 255]]></description><category>Code Coverage</category><pubDate>Tue, 24 Feb 2026 14:25:27 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2391</guid><comments>https://bugs.xdebug.org/view.php?id=2391#bugnotes</comments></item><item><title>0002385: Allow IDEKEY/Cloud ID key from php.ini be overridden through XDEBUG_SESSION_START variable if xdebug.start_with_request=yes</title><author></author><link>https://bugs.xdebug.org/view.php?id=2385</link><description><![CDATA[In some cases users might want to have a default Cloud ID key configured in php.ini, with xdebug.start_with_request=yes set. This is useful to intercept and debug requests where the XDEBUG_SESSION_START value is missing. Although this works, this stops Xdebug from using the XDEBUG_SESSION_START altogether if one is present, as xdebug.start_with_request=yes short-circuits the checking for this value.&lt;br /&gt;
&lt;br /&gt;
Subsequently, this means that if XDEBUG_SESSION_START is present, it is not looked at, and the Cloud ID key that it might include is not used.&lt;br /&gt;
&lt;br /&gt;
What instead should happen, is that even with xdebug.start_with_request=yes is set, it should use the XDEBUG_SESSION_START value when connecting to the IDE/Xdebug Cloud, and hence override the hard-coded one from php.ini.]]></description><category>Step Debugging</category><pubDate>Fri, 06 Feb 2026 10:18:35 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2385</guid><comments>https://bugs.xdebug.org/view.php?id=2385#bugnotes</comments></item><item><title>0002403: Better support of worker mode</title><author></author><link>https://bugs.xdebug.org/view.php?id=2403</link><description><![CDATA[The current implementation is not ideal to debug worker mode.&lt;br /&gt;
You need to:&lt;br /&gt;
1. add your breakpoint before starting the worker&lt;br /&gt;
2. call xdebug_connect_to_client (and that's included in symfony runtime) but it bypasses the xdebug.start_with_request=trigger configuration&lt;br /&gt;
&lt;br /&gt;
It's possible to offer a better support of worker mode by hooking with frankenphp and enable / disable profiling when needed.]]></description><category>dbgpClient</category><pubDate>Thu, 05 Feb 2026 16:24:58 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2403</guid><comments>https://bugs.xdebug.org/view.php?id=2403#bugnotes</comments></item><item><title>0002222: Xdebug holds a reference to objects in the stack trace of a caught exception</title><author></author><link>https://bugs.xdebug.org/view.php?id=2222</link><description><![CDATA[I think relating to the 3.3.0 release which fixed some issues with exception.&lt;br /&gt;
&lt;br /&gt;
I am now seeing in a Drupal context that objects are not getting their destructor called sometimes when they should. With Xdebug disabled it calls them normally at the end of the method that created them when their variable goes out of scope.&lt;br /&gt;
&lt;br /&gt;
I think it's related to exceptions being rethrown in some cases perhaps it is &quot;capturing&quot; a reference in a stack and then preventing it from destructing.]]></description><category>Tracing</category><pubDate>Tue, 03 Feb 2026 16:31:37 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2222</guid><comments>https://bugs.xdebug.org/view.php?id=2222#bugnotes</comments></item><item><title>0002397: Very slow with Xdebug 3.5.0</title><author></author><link>https://bugs.xdebug.org/view.php?id=2397</link><description><![CDATA[I've installed Xdebug 3.5.0 with PHP versions 8.5, 8.4, 8.3 and all are very slow compared to Xdebug 3.4.x.&lt;br /&gt;
&lt;br /&gt;
Here is test code.&lt;br /&gt;
```&lt;br /&gt;
&lt;?php&lt;br /&gt;
// Start the benchmark&lt;br /&gt;
$start_time = microtime(true);&lt;br /&gt;
&lt;br /&gt;
// Code block to benchmark (example: a simple loop)&lt;br /&gt;
$iterations = 1000000;&lt;br /&gt;
for ($i = 0; $i &lt; $iterations; $i++) {&lt;br /&gt;
    // Perform some operation, e.g., string concatenation&lt;br /&gt;
    $result = &quot;Test string&quot; . $i;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Stop the benchmark&lt;br /&gt;
$end_time = microtime(true);&lt;br /&gt;
&lt;br /&gt;
// Calculate and display the total time taken in seconds&lt;br /&gt;
$total_time = round(($end_time - $start_time), 4);&lt;br /&gt;
echo 'Code execution time: ' . $total_time . ' seconds.';&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
With Xdebug 3.4.x, the result will be around 0.12xxx - 0.13xxx seconds.  &lt;br /&gt;
But with Xdebug 3.5.0 the result go up to 9 seconds+ or more.&lt;br /&gt;
&lt;br /&gt;
Tested with PHP 8.3, 8.4, 8.5 on Windows.&lt;br /&gt;
&lt;br /&gt;
php -v&lt;br /&gt;
&gt; PHP 8.5.0 (cli) (built: Nov 18 2025 08:16:50) (NTS Visual C++ 2022 x64)&lt;br /&gt;
&gt; Copyright (c) The PHP Group&lt;br /&gt;
&gt; Zend Engine v4.5.0, Copyright (c) Zend Technologies&lt;br /&gt;
&gt;     with Xdebug v3.5.0, Copyright (c) 2002-2025, by Derick Rethans&lt;br /&gt;
&gt;     with Zend OPcache v8.5.0, Copyright (c), by Zend Technologies&lt;br /&gt;
&lt;br /&gt;
Web server:  &lt;br /&gt;
Apache/2.4.46 (Win64) OpenSSL/1.1.1i mod_fcgid/2.3.10-dev  &lt;br /&gt;
Non thread safety.  &lt;br /&gt;
Compiler: Visual C++ 2022  &lt;br /&gt;
Architecture: x64&lt;br /&gt;
&lt;br /&gt;
php.ini config:  &lt;br /&gt;
```&lt;br /&gt;
; Xdebug&lt;br /&gt;
zend_extension = 'D:/wwwserver-x64/php/xdebug/php_xdebug-3.5.0-8.5-nts-vs17-x86_64.dll'&lt;br /&gt;
xdebug.profiler_append = 0&lt;br /&gt;
xdebug.start_with_request = trigger&lt;br /&gt;
xdebug.mode = develop,profile&lt;br /&gt;
xdebug.output_dir = 'D:/my-dev-programs/wwwserver-x64/tmp/xdebug'&lt;br /&gt;
xdebug.profiler_output_name = 'cachegrind.out.%p%H%R'&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
Xdebug log:  &lt;br /&gt;
&gt; [8168] Log opened at 2026-01-14 04:42:56.268240&lt;br /&gt;
&gt; [8168] [Config] WARN: Can't create control Named Pipe (0xe7)&lt;br /&gt;
&gt; [8168] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_PROFILE'&lt;br /&gt;
&gt; [8168] [Config] INFO: Trigger value for 'XDEBUG_PROFILE' not found, so not activating&lt;br /&gt;
&gt; [8168] Log closed at 2026-01-14 04:43:10.227919]]></description><category>Step Debugging</category><pubDate>Tue, 03 Feb 2026 15:37:31 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2397</guid><comments>https://bugs.xdebug.org/view.php?id=2397#bugnotes</comments></item><item><title>0002390: Exception not caught when iterating over a Generator variable with try-finally</title><author></author><link>https://bugs.xdebug.org/view.php?id=2390</link><description><![CDATA[We've noticed unit tests failing after updating to PHP 8.4.15 because an exception was no longer caught when it should have been.&lt;br /&gt;
I am not sure what exactly causes the issue, but I've narrowed it down to the minimal reproducer provided below. I was not able to trim it down any further.&lt;br /&gt;
&lt;br /&gt;
I was unable to reproduce the issue with PHP 8.4.14 or with XDebug disabled which leads me to believe that this is a bug in XDebug.]]></description><category>Uncategorized</category><pubDate>Thu, 22 Jan 2026 16:01:58 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2390</guid><comments>https://bugs.xdebug.org/view.php?id=2390#bugnotes</comments></item><item><title>0002401: Error al guardar cambios de nombre de usuario - Botón de guardar no responde</title><author></author><link>https://bugs.xdebug.org/view.php?id=2401</link><description><![CDATA[Él no puede guardar las modificaciones realizadas en su nombre de perfil de usuario en la página de &quot;Mi cuenta&quot;]]></description><category>Code Coverage</category><pubDate>Thu, 22 Jan 2026 16:01:16 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2401</guid><comments>https://bugs.xdebug.org/view.php?id=2401#bugnotes</comments></item><item><title>0002400: Invent better way of configuring lots of line-to-line mappings</title><author></author><link>https://bugs.xdebug.org/view.php?id=2400</link><description><![CDATA[Right now, for mapping files that concern mapping lines to other lines, as will be common with Templating engines, each file name needs to be re-recorded in each file, such as in:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
# Path prefixes&lt;br /&gt;
remote_prefix: /home/derick/dev/xdebug.cloud/src/cache/compiled_templates/xhtml-updqr0&lt;br /&gt;
local_prefix: /home/derick/dev/xdebug.cloud/src/templates&lt;br /&gt;
&lt;br /&gt;
# The mapping table&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:2-31 = user-info.ezt:1&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:32-33 = user-info.ezt:2&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:34-36 = user-info.ezt:3&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:37 = user-info.ezt:4&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:38 = user-info.ezt:5&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:39-40 = user-info.ezt:6&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:41-46 = user-info.ezt:7&lt;br /&gt;
…&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:301-302 = user-info.ezt:73&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:303 = user-info.ezt:74-75&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
Instead, it would be much better if you could also do something akin to:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
remote_prefix: /home/derick/dev/xdebug.cloud/src/cache/compiled_templates/xhtml-updqr0&lt;br /&gt;
local_prefix: /home/derick/dev/xdebug.cloud/src/templates&lt;br /&gt;
&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php = user-info.ezt (@2-31=1;32-33=2;34-36=3,37=4;38=5;39-40=6;41-46=7…)&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
Or a different syntax...&lt;br /&gt;
&lt;br /&gt;
This ticket came forth out of &lt;a href=&quot;https://github.com/twigphp/Twig/pull/4733#discussion_r2689930741&quot; rel=&quot;noopener,nofollow&quot;&gt;https://github.com/twigphp/Twig/pull/4733#discussion_r2689930741&lt;/a&gt; and the &quot;Future Scope&quot; from the original design document: &lt;a href=&quot;https://xdebug.org/funding/001-native-path-mapping#future-scope&quot; rel=&quot;noopener&quot;&gt;https://xdebug.org/funding/001-native-path-mapping#future-scope&lt;/a&gt;]]></description><category>Path Mapping</category><pubDate>Thu, 15 Jan 2026 13:01:55 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2400</guid><comments>https://bugs.xdebug.org/view.php?id=2400#bugnotes</comments></item><item><title>0002399: Create `xdebug_add_source_map_directory` to dynamically add directories where Xdebug will load path mapping files from</title><author></author><link>https://bugs.xdebug.org/view.php?id=2399</link><description><![CDATA[Sometimes, a templating system would like to put mapping files in its own cache/compiled_templates directory, and not necessarily in the `.xdebug` in the root of the project.&lt;br /&gt;
&lt;br /&gt;
Add the `xdebug_add_source_map_directory` function to add and load new files from the specified directory — when called. The function must also look at already existing breakpoints, and rewrite them with the new file/line for this to be effective.&lt;br /&gt;
&lt;br /&gt;
This ticket comes forth out of &lt;a href=&quot;https://github.com/twigphp/Twig/pull/4733#pullrequestreview-3654648341&quot; rel=&quot;noopener,nofollow&quot;&gt;https://github.com/twigphp/Twig/pull/4733#pullrequestreview-3654648341&lt;/a&gt;]]></description><category>Path Mapping</category><pubDate>Thu, 15 Jan 2026 12:54:08 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2399</guid><comments>https://bugs.xdebug.org/view.php?id=2399#bugnotes</comments></item><item><title>0002398: Add EOF marker/stanza to native path file mapper</title><author></author><link>https://bugs.xdebug.org/view.php?id=2398</link><description><![CDATA[Sometimes, you need to say from line to the end of file, and the only way to do that now is to use 6-99999 or a similarly high value. That's not nice.&lt;br /&gt;
&lt;br /&gt;
This ticket comes forth out of &lt;a href=&quot;https://github.com/twigphp/Twig/pull/4733#discussion_r2689950107&quot; rel=&quot;noopener,nofollow&quot;&gt;https://github.com/twigphp/Twig/pull/4733#discussion_r2689950107&lt;/a&gt;]]></description><category>Path Mapping</category><pubDate>Thu, 15 Jan 2026 12:49:20 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2398</guid><comments>https://bugs.xdebug.org/view.php?id=2398#bugnotes</comments></item><item><title>0002383: Segmentation fault (8.3) / zend_mm_heap corrupted (8.4)</title><author></author><link>https://bugs.xdebug.org/view.php?id=2383</link><description><![CDATA[Currently using XDebug 3.4.7 but this was not a selectable production version.&lt;br /&gt;
&lt;br /&gt;
When running our test suite when using PHP 8.3.20+ or PHP 8.4.6+ with XDebug enabled, in the middle of the PHPUnit test suite it crashes with either Segmentation fault (PHP 8.3) or zend_mm_heap corrupted (PHP 8.4). If I set the environment variable XDEBUG_MODE=&quot;off&quot; the issue disappears.&lt;br /&gt;
&lt;br /&gt;
The crash happens both in my local where XDebug is running with mode &quot;develop,debug&quot; and in our pipeline where it's running with &quot;coverage&quot;.]]></description><category>Uncategorized</category><pubDate>Wed, 14 Jan 2026 11:04:08 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2383</guid><comments>https://bugs.xdebug.org/view.php?id=2383#bugnotes</comments></item><item><title>0002392: Add option to count how often a line of code was executed using code coverage</title><author></author><link>https://bugs.xdebug.org/view.php?id=2392</link><description><![CDATA[Currently, Xdebug's code coverage reporting only indicates whether a line has been executed; it doesn't capture how often it has been executed between xdebug_start_code_coverage() and xdebug_get_code_coverage()/xdebug_stop_code_coverage().&lt;br /&gt;
&lt;br /&gt;
I would like to propose the restoration and enhancement of Xdebug's line-level execution counting capability. This would allow the tracking of how many times each line of code is executed during code coverage analysis, rather than simply marking lines as either executed (1), not executed (0), or not reachable (-1) (when dead code analysis is enabled).&lt;br /&gt;
&lt;br /&gt;
Xdebug previously tracked how often a line was executed. This changed in 2004 (see &lt;a href=&quot;https://github.com/xdebug/xdebug/commit/8d6392a51#diff-463e9f0296d2e3108dd01d49d3a11016f7b5f85048f4a56dc83c9341490b9e10L148&quot; rel=&quot;noopener,nofollow&quot;&gt;https://github.com/xdebug/xdebug/commit/8d6392a51#diff-463e9f0296d2e3108dd01d49d3a11016f7b5f85048f4a56dc83c9341490b9e10L148&lt;/a&gt;), replacing the count with a simple binary indicator (1 for executed, 0 for not executed). During a discussion, Derick suspected that this change had been made back then to address the situation in which the number of times a line was executed was incremented for each statement on that line that was executed. Also in this discussion, Derick suggested the following improvements over the original implementation:&lt;br /&gt;
&lt;br /&gt;
1) Implement the execution counting as a flag, allowing developers to opt into the more detailed reporting when needed rather than making it the default behavior.&lt;br /&gt;
&lt;br /&gt;
2) Only count an execution if the line number differs from that of the previous execution. This would count how many times execution enters a particular line. This approach addresses the aforementioned issue, counting the line once per entry to it, rather than once per executed statement on it.&lt;br /&gt;
&lt;br /&gt;
Currently, PHPUnit only reports the number of tests that executed a line. Once the change requested here is implemented, I will adapt PHPUnit's HTML code coverage report to show both the number of tests that executed a line of code (&quot;distinct coverage&quot;) and the total number of times that line of code was executed during the execution of the test suite (&quot;execution count&quot;). Future work might include calculating and reporting additional software metrics derived from these two values.]]></description><category>Code Coverage</category><pubDate>Wed, 07 Jan 2026 10:51:18 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2392</guid><comments>https://bugs.xdebug.org/view.php?id=2392#bugnotes</comments></item><item><title>0002369: Implement "Native Xdebug Path Mapping" project</title><author></author><link>https://bugs.xdebug.org/view.php?id=2369</link><description><![CDATA[More info at &lt;a href=&quot;https://xdebug.org/funding/001-native-path-mapping&quot; rel=&quot;noopener&quot;&gt;https://xdebug.org/funding/001-native-path-mapping&lt;/a&gt;]]></description><category>Step Debugging</category><pubDate>Thu, 04 Dec 2025 14:50:36 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2369</guid><comments>https://bugs.xdebug.org/view.php?id=2369#bugnotes</comments></item><item><title>0002361: Uninitialised read when running mark_fse_as_having_line_breakpoints</title><author></author><link>https://bugs.xdebug.org/view.php?id=2361</link><description><![CDATA[```&lt;br /&gt;
diff --git src/debugger/debugger.c src/debugger/debugger.c&lt;br /&gt;
index d271b051..348e233a 100644&lt;br /&gt;
--- src/debugger/debugger.c&lt;br /&gt;
+++ src/debugger/debugger.c&lt;br /&gt;
@@ -557,6 +557,10 @@ static void mark_fse_as_having_line_breakpoints(function_stack_entry *fse)&lt;br /&gt;
                        continue;&lt;br /&gt;
                }&lt;br /&gt;
 &lt;br /&gt;
+               if (!ZEND_USER_CODE(fse-&gt;op_array-&gt;type)) {&lt;br /&gt;
+                       continue;&lt;br /&gt;
+               }&lt;br /&gt;
+&lt;br /&gt;
                if (fse-&gt;function.type == XFUNC_EVAL) {&lt;br /&gt;
                        zend_string *resolved_filename;&lt;br /&gt;
 &lt;br /&gt;
```]]></description><category>Step Debugging</category><pubDate>Tue, 25 Nov 2025 14:22:01 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2361</guid><comments>https://bugs.xdebug.org/view.php?id=2361#bugnotes</comments></item><item><title>0002297: Crash in exception handler</title><author></author><link>https://bugs.xdebug.org/view.php?id=2297</link><description><![CDATA[I'm working on a web application which uses Tracy to catch and report errors. However, when I run into an exception with Xdebug enabled then PHP often crashes (SIGSEGV) inside of Tracy. I was able to reduce the issue down from thousands of lines of code to 3 small files by gradually inlining and removing code. At this point it seems that I can't remove any more code.]]></description><category>Uncategorized</category><pubDate>Tue, 25 Nov 2025 14:22:01 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2297</guid><comments>https://bugs.xdebug.org/view.php?id=2297#bugnotes</comments></item><item><title>0002289: Cant not access an array's keys</title><author></author><link>https://bugs.xdebug.org/view.php?id=2289</link><description><![CDATA[I want to access the $_FILES array. When I watch it with just $_FILES it shows it exists and you can see whats inside. However, when I type $_FILES['card_image'] it shows can not get property, even though it does and I can see it if I expand the $_FILES array. To fix this I assigned another variable to $_FILES and tried to access 'card_image' through it and guess what it worked. Why is this happening?]]></description><category>Step Debugging</category><pubDate>Tue, 25 Nov 2025 14:22:01 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2289</guid><comments>https://bugs.xdebug.org/view.php?id=2289#bugnotes</comments></item><item><title>0002161: Breakpoints not updated when process is running</title><author></author><link>https://bugs.xdebug.org/view.php?id=2161</link><description><![CDATA[When a PHP is process is already running and you add a new breakpoint, it will never be triggered unless a script is restarted.&lt;br /&gt;
&lt;br /&gt;
With the rise of popularity of Swoole, RoadRunner, AmPHP and related tools like Laravel Octane, this becomes increasingly more of a problem because debugging gets much harder. In case of Swoole, they've recently added support for XDebug, but it's still hard to actually make use of it because of having to constantly restart the server to make it reload the breakpoints.&lt;br /&gt;
&lt;br /&gt;
There are workarounds for that, but all are suboptimal: &lt;br /&gt;
 - you can either run php-fpm alongside Swoole solely for debugging (which makes it unnecessarily complex and sometimes doesn't allow reproducing the problem the same way as in Swoole)&lt;br /&gt;
 - or you can reload Swoole every time you add a breakpoint, which kills the developer experience&lt;br /&gt;
&lt;br /&gt;
Are there any possible workarounds XDebug can implement to address this issue?]]></description><category>Step Debugging</category><pubDate>Tue, 25 Nov 2025 14:22:01 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2161</guid><comments>https://bugs.xdebug.org/view.php?id=2161#bugnotes</comments></item><item><title>0002160: Path coverage data non collected from from generators</title><author></author><link>https://bugs.xdebug.org/view.php?id=2160</link><description><![CDATA[It seems that when code is executed through a generator the path coverage is not collected.&lt;br /&gt;
&lt;br /&gt;
I've prepared an example showcasing the problem:&lt;br /&gt;
&lt;a href=&quot;https://github.com/alessandromorelli/path-coverage&quot; rel=&quot;noopener,nofollow&quot;&gt;https://github.com/alessandromorelli/path-coverage&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Running test with:&lt;br /&gt;
XDEBUG_MODE=coverage php -dopcache.enable=false vendor/bin/phpunit --coverage-html coverage --path-coverage &lt;br /&gt;
&lt;br /&gt;
produces no path coverage data in the generator case, while line and branch data ara collected normally]]></description><category>Code Coverage</category><pubDate>Tue, 25 Nov 2025 14:22:01 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2160</guid><comments>https://bugs.xdebug.org/view.php?id=2160#bugnotes</comments></item></channel></rss>
