<?xml version="1.0" encoding="utf-8"?>
<!--RSS generated by Flaimo.com RSS Builder [2026-05-13 02:43:32]-->
<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>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>Tue, 12 May 2026 16:11:18 +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>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, 11 May 2026 08:27: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>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>Sun, 10 May 2026 17:41:36 +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>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>Sun, 10 May 2026 16:15:46 +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>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>Sun, 10 May 2026 16:10:45 +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>0002244: xDebug 3.3.x crashes Apache on Ubuntu 22.04 via WSL2; PHP 8.1, seeking resolution.</title><author></author><link>https://bugs.xdebug.org/view.php?id=2244</link><description><![CDATA[Hello xDebug Team,&lt;br /&gt;
&lt;br /&gt;
We've encountered recent issues with version 3.3.x. When enabling the PHP debug extension via the ini file, our PHP crashes (our custom hostname becomes inaccessible, though localhost remains accessible) with Apache, despite the CLI version working fine. Versions equal to or before 3.2.x function without any problems; it's only the latest xDebug version causing issues.&lt;br /&gt;
&lt;br /&gt;
Though we don't have extensive logs, one of our developers encountered segfault errors when enabling the latest xDebug version.&lt;br /&gt;
&lt;br /&gt;
Our development environment consists of:&lt;br /&gt;
&lt;br /&gt;
Platform: Windows Subsystem for Linux (WSL2)&lt;br /&gt;
OS: Ubuntu 22.04&lt;br /&gt;
Web Server: Apache (using supervisor to run apache and mysql services)&lt;br /&gt;
PHP Version: 8.1&lt;br /&gt;
Other enabled PHP extensions on our server include:&lt;br /&gt;
&lt;br /&gt;
ionCube PHP Loader v13.0.2&lt;br /&gt;
Zend OPcache v8.1.27&lt;br /&gt;
We'd appreciate any assistance you can provide in resolving this matter.]]></description><category>Uncategorized</category><pubDate>Wed, 06 May 2026 15:31:24 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2244</guid><comments>https://bugs.xdebug.org/view.php?id=2244#bugnotes</comments></item><item><title>0002420: Introduce separate flags for branch coverage and path coverage collection</title><author></author><link>https://bugs.xdebug.org/view.php?id=2420</link><description><![CDATA[Currently, Xdebug provides a single flag, XDEBUG_CC_BRANCH_CHECK, which activates both branch coverage and path coverage collection simultaneously. I'd like to propose splitting this into two independent flags so that branch coverage and path coverage can be activated separately.&lt;br /&gt;
&lt;br /&gt;
The current design only supports two scenarios:&lt;br /&gt;
&lt;br /&gt;
1. Line coverage only (no flag)&lt;br /&gt;
2. Line coverage + branch coverage + path coverage (XDEBUG_CC_BRANCH_CHECK)&lt;br /&gt;
&lt;br /&gt;
There is no way to enable branch coverage without also enabling path coverage. My assumption is that collecting branch coverage information alone is less resource-intensive than collecting both branch coverage and path coverage. Users who only need branch coverage currently have to pay the additional cost of path coverage collection, even if they do not make use of that data.&lt;br /&gt;
&lt;br /&gt;
Splitting the flag would enable three scenarios:&lt;br /&gt;
&lt;br /&gt;
1. Line coverage only&lt;br /&gt;
2. Line coverage + branch coverage&lt;br /&gt;
3. Line coverage + branch coverage + path coverage&lt;br /&gt;
&lt;br /&gt;
And technically also &quot;line coverage + path coverage&quot;, but I do not see how this would be useful in practice.&lt;br /&gt;
&lt;br /&gt;
I would like to propose two new flags:&lt;br /&gt;
&lt;br /&gt;
- XDEBUG_CC_BRANCH_COVERAGE to activate branch coverage&lt;br /&gt;
- XDEBUG_CC_PATH_COVERAGE to activate path coverage&lt;br /&gt;
&lt;br /&gt;
I am not sure whether or not XDEBUG_CC_PATH_COVERAGE should also activate branch coverage.&lt;br /&gt;
I am aware that the &quot;_CC&quot; infix and the &quot;_COVERAGE&quot; suffix carry redundant information, so the names are not ideal. I have not come up with better names yet, sorry.&lt;br /&gt;
&lt;br /&gt;
In a perfect world, the existing XDEBUG_CC_BRANCH_CHECK flag would be redefined to mean &quot;activate branch coverage only&quot;. However, this would be a backward-compatibility break for existing users who rely on its current behaviour of also activating path coverage. To avoid that, I propose the deprecation of XDEBUG_CC_BRANCH_CHECK and the granular / separate flags shown above.]]></description><category>Code Coverage</category><pubDate>Wed, 29 Apr 2026 09:43:28 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2420</guid><comments>https://bugs.xdebug.org/view.php?id=2420#bugnotes</comments></item><item><title>0002419: Line coverage does not report ternary branch lines when ternary is inside an array literal</title><author></author><link>https://bugs.xdebug.org/view.php?id=2419</link><description><![CDATA[When a multiline ternary operator is used as a value inside an array literal, xdebug_get_code_coverage() does not report coverage data for the lines containing the true and false branch expressions. The same ternary in a simple variable assignment context reports both branch lines correctly.&lt;br /&gt;
&lt;br /&gt;
This affects php-code-coverage (used by PHPUnit). When a ternary operator spans multiple lines inside an array literal, the branch expression lines do not appear in coverage reports at all. They are neither green (executed) nor red (not executed). They are simply not treated as executable lines.&lt;br /&gt;
&lt;br /&gt;
Reported in &lt;a href=&quot;https://github.com/sebastianbergmann/php-code-coverage/issues/1029&quot; rel=&quot;noopener,nofollow&quot;&gt;https://github.com/sebastianbergmann/php-code-coverage/issues/1029&lt;/a&gt;]]></description><category>Code Coverage</category><pubDate>Fri, 24 Apr 2026 09:36:14 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2419</guid><comments>https://bugs.xdebug.org/view.php?id=2419#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>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>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>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>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></channel></rss>
