mamot.fr is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mamot.fr est un serveur Mastodon francophone, géré par La Quadrature du Net.

Server stats:

3.1K
active users

#xdebug

0 posts0 participants0 posts today
Continued thread

more refactoring this morning - history mode now captures the current context so you can browse past state - and I combined the "history" view into the "session" view and the next step will be using <tab> to select focus and scroll the source/property-list up and down #php #xdebug #rust

Continued thread

made some practical improvements today including a COMMAND mode to enter raw DBGP commands (e.g. set a breakpoint)- so that I can start using it for work tomorrow.

My next feature will either be the ability to go "back" in the history or to show the local vars / properties. #php #xdebug #rust

I love #XDebug! For me it's an indispensable tool when I work on #php projects. But it's always a bit of a hassle to set it up. Maybe that's because I use Linux, maybe it's just me.
But some time ago, I started a new project, with @dunglas 's symfony-docker setup. And guess what: XDebug worked out of the box after I followed the steps in the documentation. So: a big shout-out for Kevin, for making this so easy! Thank you 😊♥️

Continued thread

The Week in Review, Edition 83 (2025-11)

Topics:

🪵 Discover a new tool for the woodturning lathe.

🧠 Explore how LLMs can enhance the programming workflow.

📺 Rating Graph for diving into insightful statistical analyses of TV shows and movies.

📺 A must-watch show: “Schitt’s Creek”

🚴‍♂️ Embark on a 1,300 km gravel adventure around Berlin with the Brandenburg Odyssey, and learn about a small route hiccup.

🌧️ “Soil Moisture Viewer” from the German Weather Service for nerdy insights.

🪲 Xdebug Helper by JetBrains helps triggering the debugger in times of Manifest V3.

🐚 CLI tool of the week: monolith – save complete web pages as a single HTML file.

🔊 Listened to this week: Lena Brysch, Hophiluck and MARIE CLAIRE.

#weekly #Woodworking #Wood #Turning #Woodturning #LLM #AI #IMDb #RatingGraph #SchittsCreek #Brandenburg #BrandenburgOdyssey #Gravel #Spreewald #Unterspreewald #DWD #Xdebug #PHP #SPX #monolith #wget #CLI #Techno

https://www.marcusjaschen.de/en/blog/2025/2025-11/

Marcus Jaschen · The Week in Review – 2025-11🪵 Discover a new tool for the woodturning lathe. 🧠 Explore how LLMs can enhance the programming workflow. 📺 Rating Graph for diving into insightful statistical analyses of TV shows and movies. 📺 A must-watch show: “Schitt’s Creek” 🚴‍♂️ Embark on a 1,300 km gravel adventure around Berlin with the Brandenburg Odyssey, and learn about a small route hiccup. 🌧️ “Soil Moisture Viewer” from the German Weather Service for nerdy insights. 🪲 Xdebug Helper by JetBrains helps triggering the debugger in times of Manifest V3. 🐚 CLI tool of the week: monolith – save complete web pages as a single HTML file. 🔊 Listened to this week: Lena Brysch, Hophiluck and MARIE CLAIRE.

Wochenrückblick, Ausgabe 83 (2025-11)

Themen:

🪵 Ein neues und vielseitiges Werkzeug für die Drechselbank.

🧠 Programmierarbeit mit LLMs effizienter gestalten.

📺 Rating Graph erschließt die Welt der Statistiken zu Serien und Filmen.

📺 „Schitt's Creek” – ein Must-Watch.

🚴‍♂️ Brandenburg Odyssee: 1.300 km Gravel rund um Berlin – inklusive eines kleinen Problems auf der Routenführung.

🌧️ Der „Bodenfeuchte-Viewer“ des Deutschen Wetterdienstes.

🪲 Xdebug Helper ist jetzt dank JetBrains kompatibel zu Manifest V3.

🐚 monolith speichert komplette Webseiten als alleinstehende HTML-Dateien samt aller Assets.

🔊 In dieser Woche gehört: Lena Brysch, Hophiluck und MARIE CLAIRE.

#Wochenrückblick #Woodworking #Holz #Drechseln #LLM #Software #IMDb #RatingGraph #SchittsCreek #Brandenburg #BrandenburgOdyssee #Gravel #Spreewald #Unterspreewald #Bodenfeuchteviewer #DWD #Xdebug #PHP #SPX #monolith #wget #CLI #Techno

https://www.marcusjaschen.de/blog/2025/2025-11/

Marcus Jaschen · Rückblick Kalenderwoche 2025-11🪵 Ein neues und vielseitiges Werkzeug für die Drechselbank. 🧠 Programmierarbeit mit LLMs effizienter gestalten. 📺 Rating Graph erschließt die Welt der Statistiken zu Serien und Filmen. 📺 „Schitt’s Creek” – ein Must-Watch. 🚴‍♂️ Brandenburg Odyssee: 1.300 km Gravel rund um Berlin – inklusive eines kleinen Problems auf der Routenführung. 🌧️ Der „Bodenfeuchte-Viewer“ des Deutschen Wetterdienstes. 🪲 Xdebug Helper ist jetzt dank JetBrains kompatibel zu Manifest V3. 🐚 monolith speichert komplette Webseiten als alleinstehende HTML-Dateien samt aller Assets. 🔊 In dieser Woche gehört: Lena Brysch, Hophiluck und MARIE CLAIRE.
Missing Characters
Original Post

I release a new version of Xdebug on Sunday, which fixes a few bugs. One of them is titled emoji character become diamond question marks. This bug turned out to be the same as var_dump does not output some Russian characters, which was originally reported a few days earlier but hadn't come with a decent enough reproducible case.

At first I dismissed this, as it's not unlikely that people get their character sets wrong, or mixed up.

But when I tested it, the following script really did not show the right result:

Instead of the expected:

Standard input code:3:string
'hello 👍' (length=10)

It showed:

Standard input code:3:string
'hello ���' (length=10)

The four bytes that should have made up the 👍 had turned into three.

Xdebug uses a function, xdebug_xmlize, to escape XML and XHTML-special characters such as ", &, and < when it outputs strings of data.

Its algorithm first calculates how much memory the resulting string would use by looping over the source characters, and adding the lengths of the escaped characters together. It uses a 256-entry table for this.

The first row shows that byte 0's escaped length will be 4 (for ) and the LF character's escaped length will be 5 (for ).

The replacement strings are recorded in the table that follows. It only has place for 64 elements, as none of the bytes above byte-64 need to be escaped. You can see that because the xml_encode_count table only has entries containing 1 after the fourth 16-element row.

Then in a second iteration it loops over all the source characters again to construct the resulting output.

In this iteration, it checks if the destination length is 1, in which case it just copies the character over. If the destination length is not 1, then it adds the number of characters that correspond to the destination character's length.

The bug here was that the table for xml_encode_count, although it was defined as having 256 entries, only had 240 entries. I had missed to add the 16th line, so instead there were only 15 lines of 16 elements.

And in C, that means that these missing elements were all set to 0. This meant that if there was a character in the source string where the byte value was larger or equal to hexadecimal 0xF0 (decimal: 240), the algorithm thought the replacement length of these characters would be 0. This then resulted in these characters to just be ignored, and not copied over into the destination string.

For the 👍 character (hex: 0xF0 0x9F 0x91 0x8D) that meant that its first byte (0xF0) was not copied into the destination string. And that meant a broken UTF-8 character. Oops! 💩

In Xdebug 3.4.2 this is now fixed, as I have added the 16th line to the table, with 16 more elements containing 1.

What I did find curious that it took nearly five years for something to report this issue, and with that, two in the same week!

derickrethans.nlMissing Characters — Derick Rethans
Xdebug Update: January 2025
Original Post

In this monthly update I explain what happened with Xdebug development.

GitHub and Pro/Business supporters will get it earlier, around the first of each month.

In the last month, I spend around 18 hours on Xdebug, with 25 hours funded.

Xdebug 3.4

At the start of the month I released Xdebug 3.4.1, which fixes a few crash bugs when deciding whether to activate a specific feature.

During the rest of the month, I fixed an issue where PHP 8.4's new property hooks would not show their content in the debugger.

Foreach Woes

Besides the Xdebug 3.4 general bug fixes, I have also been looking at addressing a long-standing issue where using foreach produces some unexpected results when doing path and branch coverage. I wrote an article called Figuring Out Foreach to explain the problem.

The fix however is trickier, and I am inclined to roll that up into a big patch that refactors Code Coverage into an analysis pass, and a collection pass. The patch sits in a branch and addresses some other long outstanding inaccuracies.

I recently have rebranched this patch on Xdebug's master again, so it is fully functional (minus the foreach changes), but unfortunately it is a little slower than what currently is available in Xdebug. I might decide to release it with this slight performance degradation in Xdebug 3.5 or 3.6 regardless.

Xdebug Videos

I have created one new video in the last two months:

All Xdebug videos can be watched on my channel.

If you have any suggestions, feel free to reach out to me on Mastodon or via email.

Business Supporter Scheme and Funding

On GitHub sponsors, I am currently 40% towards my $2,500 per month goal, which is set to allow continued of Xdebug.

If you are leading a team or company, then it is also possible to support Xdebug through a subscription.

In the last month, no new business supporters signed up.

Besides business support, I also maintain a Patreon page, a profile on GitHub sponsors, as well as an OpenCollective organisation.

If you want to contribute to specific projects, you can find those on the Projects page.

Xdebug Cloud

Xdebug Cloud is the Proxy As A Service platform to allow for debugging in more scenarios, where it is hard, or impossible, to have Xdebug make a connection to the IDE. It is continuing to operate as Beta release.

Packages start at £49/month, and I have recently introduced a package for larger companies. This has a larger initial set of tokens, and discounted extra tokens.

If you want to be kept up to date with Xdebug Cloud, please sign up to the mailinglist, which I will use to send out an update not more than once a month.

derickrethans.nlXdebug Update: January 2025 — Derick Rethans

11 more days to fulfill my last year resolution - to use #Emacs as IDE for #Drupal development. What's been holding me back is the debugger (#xdebug). I know about three packages #geben, #dap and #dape, but I don't know which to choose. Would you recommend me one? I'm a bit hesitant to use nodejs based solution, but only a bit. ⌨️ 💻
Anyone uses any of these tools?

Xdebug Update: November 2024
Original Post

In this monthly update I explain what happened with Xdebug development

GitHub and Pro/Business supporters will get it earlier, around the first of each month.

On GitHub sponsors, I am currently 43% towards my $2,500 per month goal, which is set to allow continued of Xdebug.

If you are leading a team or company, then it is also possible to support Xdebug through a subscription.

In the last month, I spend around 10 hours on Xdebug, with 22 hours funded.

Xdebug 3.4

PHP 8.4 was released at the end of November, and with that it was also necessary to release Xdebug 3.4 with support for it. Before I did that, I had another good look at many issues to try to find out what the problem was.

I fixed a few issues, and another set of issues disappeared due to fixes in PHP itself.

If you find any issues with Xdebug 3.4, then please send me a bug report through the issue tracker.

Xdebug Videos

I have created no new Xdebug videos in the last month, but there is a new video in my "Writing Extensions" series.

All Xdebug videos can be watched on my channel.

If you have any suggestions, feel free to reach out to me on Mastodon or via email.

Business Supporter Scheme and Funding

In the last month, no new business supporters signed up.

Besides business support, I also maintain a Patreon page, a profile on GitHub sponsors, as well as an OpenCollective organisation.

If you want to contribute to specific projects, you can find those on the Projects page.

Xdebug Cloud

Xdebug Cloud is the Proxy As A Service platform to allow for debugging in more scenarios, where it is hard, or impossible, to have Xdebug make a connection to the IDE. It is continuing to operate as Beta release.

Packages start at £49/month, and I have recently introduced a package for larger companies. This has a larger initial set of tokens, and discounted extra tokens.

If you want to be kept up to date with Xdebug Cloud, please sign up to the mailinglist, which I will use to send out an update not more than once a month.

derickrethans.nlXdebug Update: November 2024 — Derick Rethans