Package: php-xdebug
Version: 3.0.2
Debian Version: Bullseye
Uname -a: Linux cod-desa-nucleo 5.10.0-16-amd64 #1 SMP Debian 5.10.127-2
(2022-07-23) x86_64 GNU/Linux

Hello,

When we use the xdebug extension in PHP it suddenly stop while it is
debugging. This were not happening before the last security updates.

$ php -v
PHP 7.4.30 (cli) (built: Jul  7 2022 15:51:43) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies
    with Xdebug v3.0.2, Copyright (c) 2002-2022, by Derick Rethans
    

We tried to install another version of the package php-xebug (v3.1.5)
using PECL and everything works well, even installing the xdebug at the
same version
of Debian pacakges, we still have the same issue.

This is a code you could try to reproduce the error while you're debugging:


<?php
class A{

 static function fa(){
  self::fb(); // Use a break point here.
 }
 static function fb (){
  var_dump("Hola caracola"); // Use a break point here.
 }
}

A::fa(); // Use a break point here.
?>

Thank you.

Reply via email to