Xdebug 2.0.0RC2
This second (and hopefully last) Release Candidate comes just before Christmas as some form of present I guess. There are not many new things in this version but there are lots of bug fixes. The display of stack traces has been optimized a bit more, you can find a screen shot of that here below. Instead of showing the full path and function arguments it instead shows only the file name, and the type of argument. If you hover your mouse of the items the full path and full variables' contents appear.
(Click to see the full version)
Comments
possible packaging problem? i am not too versed in this stuff:
- $ pecl install Xdebug-beta downloading xdebug-2.0.0RC2.tgz ... Starting to download xdebug-2.0.0RC2.tgz (259,763 bytes) .....................................................done: 259,763 bytes ERROR: pecl.php.net/xdebug: conflicting files found: xdebug/Changelog (pear.php.net/xdebug)
- xdebug/CREDITS (pear.php.net/xdebug) xdebug/LICENSE (pear.php.net/xdebug)
- xdebug/NEWS (pear.php.net/xdebug)
xdebug/README (pear.php.net/xdebug)
It looks like you're trying to install pecl/xdebug where you already have pear/xdebug. Try to uninstall xdebug first, and then re-install it.
using
pecl upgrade pecl/XDebug-beta
will solve the problem of conflicting files noted in the first comment
PHP segfaults when profiler_enable is turned on and UID of the process running the script is different from UID of the process that invoked the script previously. It happens when profiler_output_name is set to crc32 (default setting). Obviously it's because xdebug tries to write the file it has no permissions to write to.
Imo php should not segfault when xdebug is unable to write profiler data.
Bruce, thanks for the heads up. I fixed this now in CVS. Please use the bug system (http://bugs.xdebug.org) in the future though, as it makes it easier for me to track things.
And still XHTML output does not work. :(( It was promised... But now i only get plain text, wich still looks bad until i look at the source. But at least the HTML 3.2 is gone. ;)
Btw: It would be an idea to add a line to the documentation about how to switch output between plain text, xhtml, html and "simple parsable". "xdebug.trace_format" Does nothing on my system (xdebug 2.0.0_rc1, php 5.1.6-r6 hardened, apache 2.0.58-r2)
Life Line
Updated an information and a bench
Created 2 benches
Created 4 picnic_tables, a bench, and a fitness_station; Updated a pub and a sport club
Created 2 benches and 2 waste_baskets; Updated 4 benches, a bus_stop, and a cafe; Confirmed a dentist
Created 3 waste_baskets, 2 main entrances, and a bench; Deleted a cycle_barrier, a bench, and a waste_basket
Created an information; Updated a waste_basket and a bench
Updated 2 waste_baskets and a bench
Created 3 benches
Created a waste_basket; Updated 2 benches and a tree
I walked 3.5km in 35m31s
Created a main entrance and a home entrance
Created an entrance
Updated a house building
Created an entrance
I walked 5.8km in 1h15m06s
I've just finished reading "A Cheese-Monger's Tour de France", by Ned Palmer.
Now I want to try many of those! 🧀
I'm thrilled to announce that I'll be speaking at the 23rd edition of #phpday, the international PHP conference in Italy, organised by @grusp.
I’ll be presenting a talk titled: "Better Debugging With Xdebug".
It's in Verona, Italy, on May 14-15th 2026.
You can use my speaker’s discount code "speaker_10OFF" for 10% off at https://www.phpday.it/tickets/?utm_medium=organic&utm_source=linkedin&utm_campaign=post-speaker
I walked 5.5km in 1h11m00s
I walked 1.1km in 9m37s
Merged pull request #1066
PHP 8.6: Changes to opcache optimisations wrt function arguments
I walked 10.5km in 1h49m54s
Fixed building type
Fixed addresses and building type
Updated a bus_stop, a waste_basket, and a bench


Shortlink
This article has a short URL available: https://drck.me/xdebug-2-511