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
A little quiz.
Do you reckon that this reply is LLM-generated, or not?
Updated 2 pubs
Fix merging into master in automated upgrade script
Merge branch 'v2022'
Update data to 2026d
I hiked 2.0km in 54m55s
I hiked 7.4km in 4h45m01s
I hiked 5.5km in 4h19m08s
Updated a restaurant, a pub, and a hotel; Deleted a resort; Confirmed a farm shop
I hiked 1.3km in 1h1m31s
I hiked 1.9km in 1h52m56s
I hiked 2.9km in 2h55m04s
I hiked 1.6km in 1h16m55s
I hiked 4.8km in 1h22m37s
Specify whether pitches are lit
Survey whether benches have backrests
Specify what can be recycled in recycling containers
Specify type of recycling amenities
Survey postbox collection times
Determine whether any glass or just glass bottles can be recycled here
Specify whether bicycles can be charged at charging stations
Specify whether pedestrian crossings have islands
Specify whether pedestrian crossings have traffic signals
Specify parking types

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